[youtube] Fix subtitle names

This commit is contained in:
pukkandan 2021-09-01 19:04:51 +05:30
parent 7a340e0df3
commit a7429aa9fa
No known key found for this signature in database
GPG key ID: 0F00D95A001F4698

View file

@ -2977,7 +2977,7 @@ def process_language(container, base_url, lang_code, sub_name, query):
continue
process_language(
subtitles, base_url, lang_code,
traverse_obj(caption_track, ('name', 'simpleText')),
traverse_obj(caption_track, ('name', 'simpleText'), ('name', 'runs', ..., 'text'), get_all=False),
{})
continue
automatic_captions = {}