mirror of
https://github.com/l1ving/youtube-dl
synced 2024-12-21 21:52:52 +08:00
[youtube] fix subtitle extraction(fixes #8415)
This commit is contained in:
parent
eadc3ccd50
commit
09be85b8dd
@ -918,7 +918,7 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
|
||||
if lang in sub_lang_list:
|
||||
continue
|
||||
sub_formats = []
|
||||
for ext in ['sbv', 'vtt', 'srt']:
|
||||
for ext in ['vtt', 'ttml']:
|
||||
params = compat_urllib_parse.urlencode({
|
||||
'lang': lang,
|
||||
'v': video_id,
|
||||
|
Loading…
Reference in New Issue
Block a user