1
0
mirror of https://github.com/l1ving/youtube-dl synced 2025-03-10 22:17:20 +08:00
This commit is contained in:
d0u9 2018-04-18 15:42:11 +08:00
parent 9b3036bd2e
commit 10285588ef

View File

@ -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'),