mirror of https://github.com/yt-dlp/yt-dlp.git
[youtube] Fix subtitle names
This commit is contained in:
parent
7a340e0df3
commit
a7429aa9fa
|
@ -2977,7 +2977,7 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
|
||||||
continue
|
continue
|
||||||
process_language(
|
process_language(
|
||||||
subtitles, base_url, lang_code,
|
subtitles, base_url, lang_code,
|
||||||
traverse_obj(caption_track, ('name', 'simpleText')),
|
traverse_obj(caption_track, ('name', 'simpleText'), ('name', 'runs', ..., 'text'), get_all=False),
|
||||||
{})
|
{})
|
||||||
continue
|
continue
|
||||||
automatic_captions = {}
|
automatic_captions = {}
|
||||||
|
|
Loading…
Reference in New Issue