1
0
mirror of https://github.com/yt-dlp/yt-dlp synced 2025-12-17 06:35:42 +07:00

[outtmpl] Support multiplication

Related: #8683
This commit is contained in:
pukkandan
2023-12-06 03:44:11 +05:30
parent 6a9c7a2b52
commit 993edd3f6e
3 changed files with 3 additions and 1 deletions

View File

@@ -797,6 +797,7 @@ def expect_same_infodict(out):
test('%(title|%)s %(title|%%)s', '% %%')
test('%(id+1-height+3)05d', '00158')
test('%(width+100)05d', 'NA')
test('%(filesize*8)d', '8192')
test('%(formats.0) 15s', ('% 15s' % FORMATS[0], None))
test('%(formats.0)r', (repr(FORMATS[0]), None))
test('%(height.0)03d', '001')