projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
335959e
)
[RBMA] Do not fail if thumbnail is empty
author
Philipp Hagemeister
<phihag@phihag.de>
Sat, 12 Jan 2013 17:45:50 +0000
(18:45 +0100)
committer
Philipp Hagemeister
<phihag@phihag.de>
Sat, 12 Jan 2013 17:45:50 +0000
(18:45 +0100)
youtube_dl/InfoExtractors.py
patch
|
blob
|
history
diff --git
a/youtube_dl/InfoExtractors.py
b/youtube_dl/InfoExtractors.py
index 946162d800d84119f2d13129b7d3f9315a0fa550..5fbca1c050ff5f8d64c051d4c12ae06a18ac12a6 100755
(executable)
--- 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]