diff options
author | pukkandan <pukkandan.ytdlp@gmail.com> | 2021-04-26 10:49:22 +0530 |
---|---|---|
committer | pukkandan <pukkandan.ytdlp@gmail.com> | 2021-04-26 10:56:56 +0530 |
commit | 598d185db10c301f74bea150f559bfc6eb606fc2 (patch) | |
tree | bd82d8caad740a7ab8476336e404471baa2c31d0 | |
parent | b982cbdd0e83451b42dca8f7e59b40344b7ecf2b (diff) | |
download | hypervideo-pre-598d185db10c301f74bea150f559bfc6eb606fc2.tar.lz hypervideo-pre-598d185db10c301f74bea150f559bfc6eb606fc2.tar.xz hypervideo-pre-598d185db10c301f74bea150f559bfc6eb606fc2.zip |
Fix case sensitivity of format selector
Bug introduced in f8d4ad9ab00bca71808cd769c04806f51c3578f0
-rw-r--r-- | yt_dlp/YoutubeDL.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/yt_dlp/YoutubeDL.py b/yt_dlp/YoutubeDL.py index 5aea1b807..48799369b 100644 --- a/yt_dlp/YoutubeDL.py +++ b/yt_dlp/YoutubeDL.py @@ -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': |