aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordirkf <fieldhouse@gmx.net>2025-03-25 21:41:15 +0000
committerdirkf <fieldhouse@gmx.net>2025-03-25 22:35:05 +0000
commit7dca08eff01c0e8a25be38ec76c63170f26ac118 (patch)
tree50cff5e90e7af2ef037c104347f389710b4f5a89
parent2239ee796584ece265edef2df20782618a615056 (diff)
[YouTube] Also get original of translated automatic captions
-rw-r--r--youtube_dl/extractor/youtube.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/youtube_dl/extractor/youtube.py b/youtube_dl/extractor/youtube.py
index a3d3acc4d..50527c98c 100644
--- a/youtube_dl/extractor/youtube.py
+++ b/youtube_dl/extractor/youtube.py
@@ -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']