]> git.bitcoin.ninja Git - youtube-dl/commitdiff
[youtube] fix subtitle extraction(fixes #8415)
authorremitamine <remitamine@gmail.com>
Thu, 4 Feb 2016 07:28:37 +0000 (08:28 +0100)
committerremitamine <remitamine@gmail.com>
Thu, 4 Feb 2016 07:28:37 +0000 (08:28 +0100)
youtube_dl/extractor/youtube.py

index a7f8c968ef2eb870355be1898bafe123e59dc294..1fef4cfd46b5d0e36d16355156d85039140e302b 100644 (file)
@@ -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,