mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2025-07-05 12:36:17 -07:00
[YouTube] Also get original of translated automatic captions
This commit is contained in:
parent
2239ee7965
commit
7dca08eff0
1 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue