1.0.2 • Published 7 months ago
band-dl v1.0.2
band-dl
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.
How to install
npm install -g band-dl
or from cloned repository
npm link
How to use
Download entire discography
band-dl <artist-identifier>
<artist-identifier>
:https://<artist-identifier>.bandcamp.com/music
Example
band-dl fictionalartist
Download specific album(s)
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]
.
Example
band-dl fictionalartist album1 album2 album3
How does it work
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.