This website works better with JavaScript.
Home
Help
Sign In
zolfa
/
youtube-dl
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
1.1k
Wiki
Activity
Browse Source
[YoutubeDL] Fix typo in media extension compatibility checker
master-ytdl-org
Douglas Su
6 years ago
committed by
Sergey M
parent
d86c5167ae
commit
5a19d231ca
1 changed files
with
1 additions
and
1 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
youtube_dl/YoutubeDL.py
+ 1
- 1
youtube_dl/YoutubeDL.py
View File
@ -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
=
audi
o
.
get
(
'
ext
'
)
,
vide
o
.
get
(
'
ext
'
)
video_ext
,
audio_ext
=
vide
o
.
get
(
'
ext
'
)
,
audi
o
.
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
'
)
,
Write
Preview
Loading…
Cancel
Save