diff options
author | remitamine <remitamine@gmail.com> | 2016-02-04 08:39:01 +0100 |
---|---|---|
committer | remitamine <remitamine@gmail.com> | 2016-02-04 08:39:01 +0100 |
commit | 2fb35d1c28f6dcac4bf35cc533fbc1699983b740 (patch) | |
tree | 80c4c1e78f7dd636f08d5ea2c521ba6ad8ff0133 /youtube_dl/extractor | |
parent | 09be85b8dd987ff4c3b3161dc58c36959c33da5e (diff) |
[youtube] fix subtitle order
Diffstat (limited to 'youtube_dl/extractor')
-rw-r--r-- | youtube_dl/extractor/youtube.py | 2 |
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, |