projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d86c516
)
[YoutubeDL] Fix typo in media extension compatibility checker
author
Douglas Su
<d0u9.su@outlook.com>
Thu, 19 Apr 2018 15:21:50 +0000
(23:21 +0800)
committer
Sergey M
<dstftw@gmail.com>
Thu, 19 Apr 2018 15:21:50 +0000
(22:21 +0700)
youtube_dl/YoutubeDL.py
patch
|
blob
|
history
diff --git
a/youtube_dl/YoutubeDL.py
b/youtube_dl/YoutubeDL.py
index fca4999eb5099c0b52c45141b63dd953b665a612..ad359880526116d71d13fa2a736ab02ca79e19c0 100755
(executable)
--- 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'), vide
o.get('ext')
+ video_ext, audio_ext =
video.get('ext'), audi
o.get('ext')
if video_ext and audio_ext:
COMPATIBLE_EXTS = (
('mp3', 'mp4', 'm4a', 'm4p', 'm4b', 'm4r', 'm4v', 'ismv', 'isma'),