From: remitamine Date: Thu, 4 Feb 2016 07:39:01 +0000 (+0100) Subject: [youtube] fix subtitle order X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=2fb35d1c28f6dcac4bf35cc533fbc1699983b740;p=youtube-dl [youtube] fix subtitle order --- 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,