[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 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
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 = {}