mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-23 02:25:11 +00:00
[youtube] fix subtitle extraction(fixes #8415)
This commit is contained in:
parent
eadc3ccd50
commit
09be85b8dd
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:
|
if lang in sub_lang_list:
|
||||||
continue
|
continue
|
||||||
sub_formats = []
|
sub_formats = []
|
||||||
for ext in ['sbv', 'vtt', 'srt']:
|
for ext in ['vtt', 'ttml']:
|
||||||
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