mirror of
https://github.com/LucBerge/yt-dlp.git
synced 2025-03-17 19:57:52 +03:00
Improve offset parsing in outtmpl
This commit is contained in:
parent
5c6542ce69
commit
385a27fad1
2 changed files with 35 additions and 30 deletions
|
@ -752,6 +752,7 @@ class TestYoutubeDL(unittest.TestCase):
|
|||
test('%(formats.3)s', 'NA')
|
||||
test('%(formats.:2:-1)r', repr(FORMATS[:2:-1]))
|
||||
test('%(formats.0.id.-1+id)f', '1235.000000')
|
||||
test('%(formats.0.id.-1+formats.1.id.-1)d', '3')
|
||||
|
||||
# Empty filename
|
||||
test('%(foo|)s-%(bar|)s.%(ext)s', '-.mp4')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue