[ted] fix extraction
This commit is contained in:
parent
a098c99f0d
commit
e5ec624f9e
@ -181,7 +181,7 @@ class TEDIE(InfoExtractor):
|
|||||||
|
|
||||||
native_downloads = try_get(
|
native_downloads = try_get(
|
||||||
talk_info, lambda x: x['downloads']['nativeDownloads'],
|
talk_info, lambda x: x['downloads']['nativeDownloads'],
|
||||||
dict) or talk_info['nativeDownloads']
|
dict) or talk_info.get('nativeDownloads') or {}
|
||||||
|
|
||||||
formats = [{
|
formats = [{
|
||||||
'url': format_url,
|
'url': format_url,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user