From 598d185db10c301f74bea150f559bfc6eb606fc2 Mon Sep 17 00:00:00 2001 From: pukkandan Date: Mon, 26 Apr 2021 10:49:22 +0530 Subject: [PATCH] Fix case sensitivity of format selector Bug introduced in f8d4ad9ab00bca71808cd769c04806f51c3578f0 --- yt_dlp/YoutubeDL.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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':