mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-27 03:03:01 +00:00
[RBMA] Do not fail if thumbnail is empty
This commit is contained in:
parent
335959e778
commit
187f491ad2
1 changed files with 1 additions and 1 deletions
|
@ -3758,7 +3758,7 @@ def _real_extract(self, url):
|
||||||
'location': data.get('country_of_origin'),
|
'location': data.get('country_of_origin'),
|
||||||
'uploader': data.get('host', {}).get('name'),
|
'uploader': data.get('host', {}).get('name'),
|
||||||
'uploader_id': data.get('host', {}).get('slug'),
|
'uploader_id': data.get('host', {}).get('slug'),
|
||||||
'thumbnail': data.get('image').get('large_url_2x'),
|
'thumbnail': data.get('image', {}).get('large_url_2x'),
|
||||||
'duration': data.get('duration'),
|
'duration': data.get('duration'),
|
||||||
}
|
}
|
||||||
return [info]
|
return [info]
|
||||||
|
|
Loading…
Reference in a new issue