A neet and small command line utility to download an artist's entire discography or specific albums without the use of Puppeteer or any other headless browser dependency.
npm install -g band-dl
or from cloned repository
npm link
band-dl <artist-identifier>
<artist-identifier>
:https://<artist-identifier>.bandcamp.com/music
band-dl fictionalartist
band-dl <artist-identifier> [album-identifier] [album-identifier] ...
-
<artist-identifier>
:https://<artist-identifier>.bandcamp.com/music
. -
[album-identifier]
:https://<artist-identifier>.bandcamp.com/album/[album-identifier]
.
band-dl fictionalartist album1 album2 album3
band-dl
fetches the HTML of the Bandcamp's artist or album page and analyzes the
album data in the DOM. From that album data we can extract the songs and the direct
links to the respective mp3 files.