1
1
mirror of https://github.com/ytdl-org/youtube-dl synced 2024-12-26 08:25:50 +01:00

[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

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'],