1
0
Fork 0
mirror of https://codeberg.org/polarisfm/youtube-dl.git synced 2024-12-23 16:22:30 +00:00

[youtube] fix subtitle extraction(fixes #8415)

This commit is contained in:
remitamine 2016-02-04 08:28:37 +01:00
parent eadc3ccd50
commit 09be85b8dd

View file

@ -918,7 +918,7 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
if lang in sub_lang_list: if lang in sub_lang_list:
continue continue
sub_formats = [] sub_formats = []
for ext in ['sbv', 'vtt', 'srt']: for ext in ['vtt', 'ttml']:
params = compat_urllib_parse.urlencode({ params = compat_urllib_parse.urlencode({
'lang': lang, 'lang': lang,
'v': video_id, 'v': video_id,