Miserlou / SoundScrape

SoundCloud (and Bandcamp and Mixcloud) downloader in Python.
MIT License
1.42k stars 145 forks source link

Bandcamp seems not to be working anymore #268

Open 7k50 opened 2 years ago

7k50 commented 2 years ago

Using the below command for SoundScrape 0.31.0 in Python 3.9.12:

soundscrape -b -f URL https://nomak.bandcamp.com/track/charli-xcx-lucky-remix

There is no error, but nor any retrieval of audio. This does not depend on the Bandcamp URL (the above is a random one), as far as I can tell – no Bandcamp URLs work.

7k50 commented 2 years ago

I have alternate tool:

PS C:\> bandcamp -a https://nomak.bandcamp.com/track/charli-xcx-lucky-remix
HEAD https://nomak.bandcamp.com/track/charli-xcx-lucky-remix
GET http://bandcamp.com/api/mobile/24/tralbum_details?band_id=1&tralbum_id=1174563418&tralbum_type=t
GET https://bandcamp.com/stream_redirect?enc=mp3-128&track_id=1174563418&ts=1648904424&t=df6a9405324582631c6eb98aa265908410bc1554
80.7%   4.251 MB        8.463 MB/s

https://github.com/89z/mech

I've never used Go before. I downloaded and installed it with brew, and think I configured the environment in .zshrc correctly.

However, I don't understand how to run the program after building it, per your readme. Where do I place the file(s)? Can you please improve your documentation for running the program after build?

7k50 commented 2 years ago

However, I don't understand how to run the program after building it, per your readme.

Cant you just run the command that I gave above?

Where do I place the file(s)?

Should just be a single executable file, bandcamp. Put it wherever you want...

Can you please improve your documentation for running the program after build?

Im not sure how it could be any simpler. After build, you can run bandcamp or bandcamp -h:

PS C:\> bandcamp
Usage of C:\Users\Steven\go\bin\bandcamp.exe:
  -a string
        address
  -i    info only
  -s duration
        sleep (default 1s)
  -v    verbose

Ok, got it working, thanks! I was confused about what to do with the binary after it was created.

I suggest you just add your example instructions above to the readme on your repo, i.e. how to run after building.

For Mac, the equivalent of bandcamp -a https://nomak.bandcamp.com/track/charli-xcx-lucky-remix is:

./bandcamp -a https://nomak.bandcamp.com/track/charli-xcx-lucky-remix