Browse Source

[YoutubeDL] Fix typo in media extension compatibility checker

master
Douglas Su 6 years ago
committed by Sergey M
parent
commit
5a19d231ca
1 changed files with 1 additions and 1 deletions
  1. 2
      youtube_dl/YoutubeDL.py

2
youtube_dl/YoutubeDL.py

@ -1853,7 +1853,7 @@ class YoutubeDL(object):
def compatible_formats(formats): def compatible_formats(formats):
video, audio = formats video, audio = formats
# Check extension # 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: if video_ext and audio_ext:
COMPATIBLE_EXTS = ( COMPATIBLE_EXTS = (
('mp3', 'mp4', 'm4a', 'm4p', 'm4b', 'm4r', 'm4v', 'ismv', 'isma'), ('mp3', 'mp4', 'm4a', 'm4p', 'm4b', 'm4r', 'm4v', 'ismv', 'isma'),

Loading…
Cancel
Save