aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorremitamine <remitamine@gmail.com>2016-02-04 08:39:01 +0100
committerremitamine <remitamine@gmail.com>2016-02-04 08:39:01 +0100
commit2fb35d1c28f6dcac4bf35cc533fbc1699983b740 (patch)
tree80c4c1e78f7dd636f08d5ea2c521ba6ad8ff0133
parent09be85b8dd987ff4c3b3161dc58c36959c33da5e (diff)
[youtube] fix subtitle order
-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 1fef4cfd4..e9ed77e42 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 ['vtt', 'ttml']:
+ for ext in ['ttml', 'vtt']:
params = compat_urllib_parse.urlencode({
'lang': lang,
'v': video_id,