1
0
mirror of https://codeberg.org/polarisfm/youtube-dl synced 2024-11-22 16:44:32 +01:00

[youtube] fix subtitle order

This commit is contained in:
remitamine 2016-02-04 08:39:01 +01:00
parent 09be85b8dd
commit 2fb35d1c28

View File

@ -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,