[mixcloud] The description field may be missing (fixes #1819)

This commit is contained in:
Jaime Marquínez Ferrándiz 2013-11-24 11:28:44 +01:00
parent d214fdb8fe
commit dc65dcbb6d
1 changed files with 1 additions and 1 deletions

View File

@ -60,7 +60,7 @@ class MixcloudIE(InfoExtractor):
'title': info['name'], 'title': info['name'],
'url': final_song_url, 'url': final_song_url,
'ext': 'mp3', 'ext': 'mp3',
'description': info['description'], 'description': info.get('description'),
'thumbnail': info['pictures'].get('extra_large'), 'thumbnail': info['pictures'].get('extra_large'),
'uploader': info['user']['name'], 'uploader': info['user']['name'],
'uploader_id': info['user']['username'], 'uploader_id': info['user']['username'],