From: Philipp Hagemeister Date: Thu, 9 Jan 2014 22:04:26 +0000 (+0100) Subject: [bandcamp] Make thumbnail and uploader optional X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=f8b5ab8cfa923edbefdd8cbfec82d6c1d4750913;p=youtube-dl [bandcamp] Make thumbnail and uploader optional Fixes #2129 --- diff --git a/youtube_dl/extractor/bandcamp.py b/youtube_dl/extractor/bandcamp.py index 644f3947d..886b0dfab 100644 --- a/youtube_dl/extractor/bandcamp.py +++ b/youtube_dl/extractor/bandcamp.py @@ -93,8 +93,8 @@ class BandcampIE(InfoExtractor): 'ext': 'mp3', 'vcodec': 'none', 'url': final_url, - 'thumbnail': info['thumb_url'], - 'uploader': info['artist'], + 'thumbnail': info.get('thumb_url'), + 'uploader': info.get('artist'), }