mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-01-07 17:16:08 +00:00
[youtube] fix subtitle order
This commit is contained in:
parent
09be85b8dd
commit
2fb35d1c28
|
@ -918,7 +918,7 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
|
||||||
if lang in sub_lang_list:
|
if lang in sub_lang_list:
|
||||||
continue
|
continue
|
||||||
sub_formats = []
|
sub_formats = []
|
||||||
for ext in ['vtt', 'ttml']:
|
for ext in ['ttml', 'vtt']:
|
||||||
params = compat_urllib_parse.urlencode({
|
params = compat_urllib_parse.urlencode({
|
||||||
'lang': lang,
|
'lang': lang,
|
||||||
'v': video_id,
|
'v': video_id,
|
||||||
|
|
Loading…
Reference in a new issue