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 @@ def selector_function(ctx): 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':