From f8b5ab8cfa923edbefdd8cbfec82d6c1d4750913 Mon Sep 17 00:00:00 2001 From: Philipp Hagemeister Date: Thu, 9 Jan 2014 23:04:26 +0100 Subject: [PATCH] [bandcamp] Make thumbnail and uploader optional Fixes #2129 --- youtube_dl/extractor/bandcamp.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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'), }