4 ms·
The only thing I really don't like about Bandcamp is their lack of an API and the consequent difficulty of automatically downloading purchased albums.
by throwanem 4y ago
The only thing I really don't like about Bandcamp is their lack of an API and the consequent difficulty of automatically downloading purchased albums.
- nowahe 4y agoHaving bought a few artist compilation on it, after clicking 5 links manually I resorted to writing a script to parse the webpage and get the links there. But what's even worse is that their CDN throttles your IP after ~15 downloads and you have to wait 1-2 hours before you can download again (which I've already hit a few times, even while clicking on the links manually)
- throwanem 4y agoThanks! That's good to know - I've already built out authentication in the Puppeteer-based sync tool I'm working on, but haven't yet got further, and it'll help a lot once I do to know to account for this. Granted, that means still a third step to orchestrate - auth ending in cookie capture, then album list fetch and reconciliation, and finally (on the other end of some queue) album downloading. Thank goodness they didn't make it too simple, I guess - I'd have hated for their annoyingly inconsistent login captcha to have been the last arbitrary challenge I had to overcome. (I can't fairly give them too hard a time, I suppose - they're doing an incredible amount with a tiny team and in that context even having pulled their public API is reasonable, however much I wish they hadn't. Just that it'd be nice if they had the scope for dealing with use cases that aren't the adversarial mirroring they've clearly optimized against...)
- samstave 4y agoCRON the DL?
- ascagnel_ 4y agoyoutube-dl (and yt-dlp) supports downloading from Bandcamp, but I'm not sure if it supports downloading anything other than the publicly-available low-quality MP3s. This[1] Reddit post seems like it may work if you capture your login cookie. [1]: https://old.reddit.com/r/youtubedl/comments/lge576/using_cookiestxt_with_bandcamp/ https://old.reddit.com/r/youtubedl/comments/lge576/using_coo...
- throwanem 4y agoYeah, I wasn't able to find any way for yt-dlp to download the HQ zipfiles either.