aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2013-01-12 18:45:50 +0100
committerPhilipp Hagemeister <phihag@phihag.de>2013-01-12 18:45:50 +0100
commit187f491ad21d369f34da9e4982ac4b106dfc89ca (patch)
tree2387a874f877627e3edecabb7441ef196c42a037 /youtube_dl
parent335959e7787dd42cb47c1267ad294e724ad9431d (diff)
[RBMA] Do not fail if thumbnail is empty
Diffstat (limited to 'youtube_dl')
-rwxr-xr-xyoutube_dl/InfoExtractors.py2
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]