aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpukkandan <pukkandan.ytdlp@gmail.com>2021-04-26 10:49:22 +0530
committerpukkandan <pukkandan.ytdlp@gmail.com>2021-04-26 10:56:56 +0530
commit598d185db10c301f74bea150f559bfc6eb606fc2 (patch)
treebd82d8caad740a7ab8476336e404471baa2c31d0
parentb982cbdd0e83451b42dca8f7e59b40344b7ecf2b (diff)
downloadhypervideo-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.py2
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':