mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-02-02 07:37:42 +01:00
Fix case sensitivity of format selector
Bug introduced in f8d4ad9ab00bca71808cd769c04806f51c3578f0
This commit is contained in:
parent
b982cbdd0e
commit
598d185db1
@ -1666,7 +1666,7 @@ class YoutubeDL(object):
|
||||
return []
|
||||
|
||||
elif selector.type == SINGLE: # atom
|
||||
format_spec = (selector.selector or 'best').lower()
|
||||
format_spec = selector.selector or 'best'
|
||||
|
||||
# TODO: Add allvideo, allaudio etc by generalizing the code with best/worst selector
|
||||
if format_spec == 'all':
|
||||
|
Loading…
x
Reference in New Issue
Block a user