logo

youtube-dl

[mirror] Download/Watch videos from video hosters
commit: 09be85b8dd987ff4c3b3161dc58c36959c33da5e
parent eadc3ccd504a13487a97172cb8468e12fd8bc068
Author: remitamine <remitamine@gmail.com>
Date:   Thu,  4 Feb 2016 08:28:37 +0100

[youtube] fix subtitle extraction(fixes #8415)

Diffstat:

Myoutube_dl/extractor/youtube.py2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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,