Skip to content

Latest commit

 

History

History
60 lines (45 loc) · 1.44 KB

readme.md

File metadata and controls

60 lines (45 loc) · 1.44 KB

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.