mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-27 14:14:54 +01:00
parent
a9d069f5b8
commit
71eb82d1b2
|
@ -4085,7 +4085,7 @@ def process_language(container, base_url, lang_code, sub_name, query):
|
|||
if not trans_code:
|
||||
continue
|
||||
orig_trans_code = trans_code
|
||||
if caption_track.get('kind') != 'asr':
|
||||
if caption_track.get('kind') != 'asr' and trans_code != 'und':
|
||||
if not get_translated_subs:
|
||||
continue
|
||||
trans_code += f'-{lang_code}'
|
||||
|
|
Loading…
Reference in New Issue
Block a user