mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2026-04-10 02:43:44 +00:00
or is better than default w/ untrusted input
Authored by: bashonly
This commit is contained in:
parent
988091400a
commit
f7d605a8f7
@ -70,7 +70,7 @@ class ZDFBaseIE(InfoExtractor):
|
||||
if not subtitle_url or subtitle_url in seen_urls:
|
||||
continue
|
||||
seen_urls.add(subtitle_url)
|
||||
lang = caption.get('language', 'deu')
|
||||
lang = caption.get('language') or 'deu'
|
||||
subtitles.setdefault(lang, []).append({
|
||||
'url': subtitle_url,
|
||||
})
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user