Browse Source

[bandcamp] Make thumbnail and uploader optional

Fixes #2129
master
Philipp Hagemeister 11 years ago
parent
commit
f8b5ab8cfa
1 changed files with 2 additions and 2 deletions
  1. 4
      youtube_dl/extractor/bandcamp.py

4
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'),
}

Loading…
Cancel
Save