diff options
author | Philipp Hagemeister <phihag@phihag.de> | 2014-01-09 23:04:26 +0100 |
---|---|---|
committer | Philipp Hagemeister <phihag@phihag.de> | 2014-01-09 23:04:36 +0100 |
commit | f8b5ab8cfa923edbefdd8cbfec82d6c1d4750913 (patch) | |
tree | 6e5e54b8189ce75b21c1cd44965b19ba9730d739 /youtube_dl | |
parent | 298f16f9544780010737c9c10dae4b0e1efd2a51 (diff) |
[bandcamp] Make thumbnail and uploader optional
Fixes #2129
Diffstat (limited to 'youtube_dl')
-rw-r--r-- | youtube_dl/extractor/bandcamp.py | 4 |
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'), } |