[bandcamp] Make thumbnail and uploader optional
authorPhilipp Hagemeister <phihag@phihag.de>
Thu, 9 Jan 2014 22:04:26 +0000 (23:04 +0100)
committerPhilipp Hagemeister <phihag@phihag.de>
Thu, 9 Jan 2014 22:04:36 +0000 (23:04 +0100)
Fixes #2129

youtube_dl/extractor/bandcamp.py

index 644f3947d1ef9355e7f0982cbc7e4a71bef8fb1f..886b0dfabb7537ebca8a13ce7e4d6d68b9966a4c 100644 (file)
@@ -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'),
         }