Browse Source

[RBMA] Do not fail if thumbnail is empty

master
Philipp Hagemeister 12 years ago
parent
commit
187f491ad2
1 changed files with 1 additions and 1 deletions
  1. 2
      youtube_dl/InfoExtractors.py

2
youtube_dl/InfoExtractors.py

@ -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]

Loading…
Cancel
Save