mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-21 20:46:36 -05:00
parent
3f047fc406
commit
0c8d9e5fec
1 changed files with 3 additions and 0 deletions
|
@ -3408,6 +3408,9 @@ def process_language(container, base_url, lang_code, sub_name, query):
|
||||||
trans_name += format_field(lang_name, template=' from %s')
|
trans_name += format_field(lang_name, template=' from %s')
|
||||||
process_language(
|
process_language(
|
||||||
automatic_captions, base_url, trans_code, trans_name, {'tlang': trans_code})
|
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['automatic_captions'] = automatic_captions
|
||||||
info['subtitles'] = subtitles
|
info['subtitles'] = subtitles
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue