Skip to main content

Rip mp3s from bandcamp.

Project description

bandripper

Rip 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] [urls ...]

positional arguments:
  urls                  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.

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.
  -o, --overwrite       Pass this flag to overwrite existing files. Otherwise don't download tracks that already exist locally.

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.2.0.tar.gz (6.2 kB view hashes)

Uploaded Source

Built Distribution

bandripper-0.2.0-py3-none-any.whl (7.4 kB view hashes)

Uploaded Python 3

Supported by

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