mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-27 14:14:54 +01:00
[youtube] Fix subtitle names
This commit is contained in:
parent
7a340e0df3
commit
a7429aa9fa
|
@ -2977,7 +2977,7 @@ def process_language(container, base_url, lang_code, sub_name, query):
|
||||||
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
Block a user