aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/youtube.py
diff options
context:
space:
mode:
authorremitamine <remitamine@gmail.com>2016-02-04 08:28:37 +0100
committerremitamine <remitamine@gmail.com>2016-02-04 08:28:37 +0100
commit09be85b8dd987ff4c3b3161dc58c36959c33da5e (patch)
tree017ff09b261637e637211cbd7eef5b4e90353253 /youtube_dl/extractor/youtube.py
parenteadc3ccd504a13487a97172cb8468e12fd8bc068 (diff)
[youtube] fix subtitle extraction(fixes #8415)
Diffstat (limited to 'youtube_dl/extractor/youtube.py')
-rw-r--r--youtube_dl/extractor/youtube.py2
1 files changed, 1 insertions, 1 deletions
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,