aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/bandcamp.py
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2014-01-09 23:04:26 +0100
committerPhilipp Hagemeister <phihag@phihag.de>2014-01-09 23:04:36 +0100
commitf8b5ab8cfa923edbefdd8cbfec82d6c1d4750913 (patch)
tree6e5e54b8189ce75b21c1cd44965b19ba9730d739 /youtube_dl/extractor/bandcamp.py
parent298f16f9544780010737c9c10dae4b0e1efd2a51 (diff)
[bandcamp] Make thumbnail and uploader optional
Fixes #2129
Diffstat (limited to 'youtube_dl/extractor/bandcamp.py')
-rw-r--r--youtube_dl/extractor/bandcamp.py4
1 files 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'),
}