mirror of
https://codeberg.org/polarisfm/youtube-dl
synced 2024-11-26 02:14:32 +01:00
Swapped a square bracket for get
This commit is contained in:
parent
dae0247122
commit
9c43316562
@ -170,7 +170,7 @@ class FunimationIE(InfoExtractor):
|
||||
text_tracks_json_string, display_id, js_to_json, fatal=False) or []
|
||||
subtitles = {}
|
||||
for text_track in text_tracks:
|
||||
url_element = {'url': text_track['src']}
|
||||
url_element = {'url': text_track.get('src')}
|
||||
language = text_track.get('language')
|
||||
if language in subtitles:
|
||||
subtitles[language].append(url_element)
|
||||
|
Loading…
Reference in New Issue
Block a user