Skip to content
This repository has been archived by the owner on Jun 26, 2022. It is now read-only.
/ bandcamp-dl Public archive

a script to download bandcamp tracks, albums, artists and labels. Build with Deno and Typescript.

License

Notifications You must be signed in to change notification settings

RubenArtmann/bandcamp-dl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Archived

(moving away from github because of github copilot violating (free-)software licenses)

bandcamp-dl

install

  1. download Deno from here
  2. run deno install --name=bandcamp-dl --allow-net --allow-read --allow-write --no-check https://raw.githubusercontent.com/RubenArtmann/bandcamp-dl/main/mod.ts
  3. you might need to check if your path is configured correctly (alternatively you can directly use it with deno run --allow-net --allow-read --allow-write --no-check https://raw.githubusercontent.com/RubenArtmann/bandcamp-dl/main/mod.ts)

usage

run bandcamp-dl <args> <bandcamp_urls>

  • where <args> can be:
    • -d=<integer>
      • delay in milliseconds between requests
      • default: 300
    • -o=<pattern>
      • specifies the path and filename of each track (extension is always .mp3)
      • default: ./downloads/{artist}/{album}/{track}
      • {<label|artist|album|track>} gets replaced by the specific property of the file being downloaded
    • -s
      • enables slugification of filenames
      • use if your filesystem does not support unicode (or you do not want it)
  • where <bandcamp_urls> can be any number of:
    • https://<label>.bandcamp.com/artists (download whole label)
    • https://<artist>.bandcamp.com (download whole artist)
    • https://<artist>.bandcamp.com/album/<album> (download whole album)
    • https://<artist>.bandcamp.com/track/<track> (download track)
    • append #album=<album> so it knows the album of the file, otherwise {album} may be unknown
    • append #label=<label> so it knows the label of the file, otherwise {label} may be unknown

(if it crashes just rerun and it should skip already downloaded tracks)

upgrade

running deno install -fr --name=bandcamp-dl --allow-net --allow-read --allow-write --no-check https://raw.githubusercontent.com/RubenArtmann/bandcamp-dl/main/mod.ts upgrades to latest version

repository

If you have any feature requests or ran into any problems or questions, feel free to open an issue. However please open one issue per request/problem.

About

a script to download bandcamp tracks, albums, artists and labels. Build with Deno and Typescript.

Topics

Resources

License

Stars

Watchers

Forks