From: remitamine Date: Thu, 4 Feb 2016 07:28:37 +0000 (+0100) Subject: [youtube] fix subtitle extraction(fixes #8415) X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=09be85b8dd987ff4c3b3161dc58c36959c33da5e;p=youtube-dl [youtube] fix subtitle extraction(fixes #8415) --- diff --git a/youtube_dl/extractor/youtube.py b/youtube_dl/extractor/youtube.py index a7f8c968e..1fef4cfd4 100644 --- a/youtube_dl/extractor/youtube.py +++ b/youtube_dl/extractor/youtube.py @@ -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,