mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2025-04-04 06:00:13 -05:00
[YouTube] Also get original of translated automatic captions
This commit is contained in:
parent
2239ee7965
commit
7dca08eff0
@ -2596,6 +2596,8 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
|
||||
subtitles, base_url, lang_code, {})
|
||||
continue
|
||||
automatic_captions = {}
|
||||
process_language(
|
||||
automatic_captions, base_url, lang_code, {})
|
||||
for translation_language in traverse_obj(pctr, (
|
||||
Ellipsis, 'translationLanguages', lambda _, v: v.get('languageCode'))):
|
||||
translation_language_code = translation_language['languageCode']
|
||||
|
Loading…
x
Reference in New Issue
Block a user