1
0
Fork 0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-12-01 22:47:59 +00:00

[bandcamp] Make thumbnail and uploader optional

Fixes #2129
This commit is contained in:
Philipp Hagemeister 2014-01-09 23:04:26 +01:00
parent 298f16f954
commit f8b5ab8cfa

View file

@ -93,8 +93,8 @@ class BandcampIE(InfoExtractor):
'ext': 'mp3', 'ext': 'mp3',
'vcodec': 'none', 'vcodec': 'none',
'url': final_url, 'url': final_url,
'thumbnail': info['thumb_url'], 'thumbnail': info.get('thumb_url'),
'uploader': info['artist'], 'uploader': info.get('artist'),
} }