Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bandcamp seems not to be working anymore #268

Open
7k50 opened this issue Apr 2, 2022 · 2 comments
Open

Bandcamp seems not to be working anymore #268

7k50 opened this issue Apr 2, 2022 · 2 comments

Comments

@7k50
Copy link

7k50 commented Apr 2, 2022

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
Copy link
Author

7k50 commented Apr 3, 2022

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
Copy link
Author

7k50 commented Apr 3, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant