logo

youtube-dl

[mirror] Download/Watch videos from video hosters
commit: 5a19d231ca8e15d07c2a5ebd3cd6cc46b7596edc
parent d86c5167ae5a1c33451e98d7e05d5b32b6fa3156
Author: Douglas Su <d0u9.su@outlook.com>
Date:   Thu, 19 Apr 2018 23:21:50 +0800

[YoutubeDL] Fix typo in media extension compatibility checker


Diffstat:

Myoutube_dl/YoutubeDL.py2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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'),