mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-24 15:50:32 +01:00
parent
3f047fc406
commit
0c8d9e5fec
@ -3408,6 +3408,9 @@ def process_language(container, base_url, lang_code, sub_name, query):
|
||||
trans_name += format_field(lang_name, template=' from %s')
|
||||
process_language(
|
||||
automatic_captions, base_url, trans_code, trans_name, {'tlang': trans_code})
|
||||
if lang_code == f'a-{trans_code}':
|
||||
process_language(
|
||||
automatic_captions, base_url, f'{trans_code}-orig', f'{trans_name} (Original)', {'tlang': trans_code})
|
||||
info['automatic_captions'] = automatic_captions
|
||||
info['subtitles'] = subtitles
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user