1
0
Fork 0
mirror of https://gitlab.com/dstftw/youtube-dl.git synced 2020-11-16 09:42:26 +00:00

[RBMA] Do not fail if thumbnail is empty

This commit is contained in:
Philipp Hagemeister 2013-01-12 18:45:50 +01:00
parent 335959e778
commit 187f491ad2

View file

@ -3758,7 +3758,7 @@ class RBMARadioIE(InfoExtractor):
'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]