mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-01 23:12:40 +00:00
[youtube] fix subtitle order
This commit is contained in:
parent
09be85b8dd
commit
2fb35d1c28
1 changed files with 1 additions and 1 deletions
|
@ -918,7 +918,7 @@ def _get_subtitles(self, video_id, webpage):
|
|||
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,
|
||||
|
|
Loading…
Reference in a new issue