From: Douglas Su Date: Thu, 19 Apr 2018 15:21:50 +0000 (+0800) Subject: [YoutubeDL] Fix typo in media extension compatibility checker X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=5a19d231ca8e15d07c2a5ebd3cd6cc46b7596edc;p=youtube-dl [YoutubeDL] Fix typo in media extension compatibility checker --- diff --git a/youtube_dl/YoutubeDL.py b/youtube_dl/YoutubeDL.py index fca4999eb..ad3598805 100755 --- a/youtube_dl/YoutubeDL.py +++ b/youtube_dl/YoutubeDL.py @@ -1853,7 +1853,7 @@ class YoutubeDL(object): def compatible_formats(formats): video, audio = formats # Check extension - video_ext, audio_ext = audio.get('ext'), video.get('ext') + video_ext, audio_ext = video.get('ext'), audio.get('ext') if video_ext and audio_ext: COMPATIBLE_EXTS = ( ('mp3', 'mp4', 'm4a', 'm4p', 'm4b', 'm4r', 'm4v', 'ismv', 'isma'),