diff options
author | Philipp Hagemeister <phihag@phihag.de> | 2013-01-12 18:45:50 +0100 |
---|---|---|
committer | Philipp Hagemeister <phihag@phihag.de> | 2013-01-12 18:45:50 +0100 |
commit | 187f491ad21d369f34da9e4982ac4b106dfc89ca (patch) | |
tree | 2387a874f877627e3edecabb7441ef196c42a037 /youtube_dl | |
parent | 335959e7787dd42cb47c1267ad294e724ad9431d (diff) |
[RBMA] Do not fail if thumbnail is empty
Diffstat (limited to 'youtube_dl')
-rwxr-xr-x | youtube_dl/InfoExtractors.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/InfoExtractors.py b/youtube_dl/InfoExtractors.py index 946162d80..5fbca1c05 100755 --- a/youtube_dl/InfoExtractors.py +++ b/youtube_dl/InfoExtractors.py @@ -3758,7 +3758,7 @@ class RBMARadioIE(InfoExtractor): 'location': data.get('country_of_origin'), 'uploader': data.get('host', {}).get('name'), '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'), } return [info] |