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
[youtube] fix subtitle extraction(
fixes
#8415
)
totalwebcasting
remitamine
9 years ago
parent
eadc3ccd50
commit
09be85b8dd
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
youtube_dl/extractor/youtube.py
+ 1
- 1
youtube_dl/extractor/youtube.py
View File
@ -918,7 +918,7 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
if
lang
in
sub_lang_list
:
continue
sub_formats
=
[
]
for
ext
in
[
'
sb
v
'
,
'
vtt
'
,
'
srt
'
]
:
for
ext
in
[
'
v
tt
'
,
'
ttml
'
]
:
params
=
compat_urllib_parse
.
urlencode
(
{
'
lang
'
:
lang
,
'
v
'
:
video_id
,
Write
Preview
Loading…
Cancel
Save