iheanyi / bandcamp-dl

Simple python script to download Bandcamp albums
The Unlicense
968 stars 109 forks source link

download fails? #32

Closed yahyah2 closed 8 years ago

yahyah2 commented 9 years ago

C:\Users\User\Desktop\bandcamp-dl-master\bandcamp-dl>bandcamp-dl.py https://hot flashheatwave.bandcamp.com/album/neapolitan unknown url type: //popplers5.bandcamp.com/download/track?enc=mp3-128&fsig=09bd9 d2a0c4b1777c8048cf4d5d27b16&id=2769757913&stream=1&ts=1444516310.0 Downloading failed..

rdlmda commented 9 years ago

I get the same error here

JackRonan commented 9 years ago

This is due to wget not using 'http:' in front of the address before it tries to download, to fix I just added a simple concatenation that prefaces the url with 'http:' on line 68 of BandcampDownloader.py.

           tmp_file = wgetter.download(('http:')+(track['url']), outdir=dirname)
Ristellise commented 9 years ago

35

did a small fix to fix issues like this above.

Ristellise commented 9 years ago

aslo credited @jackronan for the fix.

iheanyi commented 9 years ago

Awesome, thanks for this!

iheanyi commented 8 years ago

Added a cleaner version of the fix, fixed now.