Skip to main content

Rip mp3s from bandcamp.

Project description

bandripper

Download albums from bandcamp using the command line.
Only works for public tracks.
Quality is limited to mp3 at 128 kbps.

Installation

Install with:

pip install bandripper

Usage

Options
> bandripper -h
Usage: bandripper [-h] [-n] [-o] [-nr] [str ...]

Positional Arguments:
  str                   The bandcamp url(s) for the album or artist. If the url is to an artists
                        main page, all albums will be downloaded. The tracks will be saved to a
                        subdirectory of your current directory. If a track can't be streamed (i.e.
                        private) it won't be downloaded. Multiple urls can be passed. (default: None)

Options:
  -h, --help            show this help message and exit
  -n, --no_track_number
                        By default the track number will be added to the front of the track title.
                        Pass this switch to disable the behavior. (default: False)
  -o, --overwrite       Pass this flag to overwrite existing files. Otherwise tracks that already
                        exist locally will not be downloaded. (default: False)
  -nr, --new_releases   Check urls in `discography_urls.txt` for new releases and download them. A
                        discography url is automatically added to the file when bandripper is used
                        on it. (default: False)

e.g.

>bandripper https://blacklungwinter.bandcamp.com/releases
Downloading 5 tracks from Bodies of EarthHearts of Space by Blacklung Winter... ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100.00% 0s
>dir "./Blacklung Winter/Bodies of EarthHearts of Space"
03/22/2023  01:46 PM           228,335 Bodies of EarthHearts of Space.jpg
03/22/2023  01:46 PM         3,008,887 01 - Bodies of EarthHearts of Space.mp3
03/22/2023  01:46 PM         3,441,057 02 - Dead in the Water.mp3
03/22/2023  01:46 PM         2,792,802 03 - Yin and Yang.mp3
03/22/2023  01:46 PM         3,326,954 04 - Neurotoxin.mp3
03/22/2023  01:46 PM         3,836,446 05 - Uproot.mp3

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bandripper-0.3.1.tar.gz (8.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

bandripper-0.3.1-py3-none-any.whl (9.6 kB view details)

Uploaded Python 3

File details

Details for the file bandripper-0.3.1.tar.gz.

File metadata

  • Download URL: bandripper-0.3.1.tar.gz
  • Upload date:
  • Size: 8.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.9

File hashes

Hashes for bandripper-0.3.1.tar.gz
Algorithm Hash digest
SHA256 2f81404e1189b5b7a6466a5f6ffa5f097928f62f8175d7445cb9fac5db33fb9f
MD5 0c11638d1af99efb33c27628df00c733
BLAKE2b-256 037c7433210392eaf8f57b2263f202c95c1bfbbcc5ea7be23004103847aa6f40

See more details on using hashes here.

File details

Details for the file bandripper-0.3.1-py3-none-any.whl.

File metadata

  • Download URL: bandripper-0.3.1-py3-none-any.whl
  • Upload date:
  • Size: 9.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.9

File hashes

Hashes for bandripper-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6d5c77e3f1822ce8c17c6c3d0d619dd54ebef8b4ac11f91d58d26bdf60d9acc0
MD5 f36c9a3452412176e8b03adc139d0ea7
BLAKE2b-256 30d47bac0b44790c4474662a058aec3b678fd48199be1bfd8e64710b3cbfd468

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page