BangerBot — Get those bangers banging 🔥
What is this for?
Preparing a DJ set and digging for tracks car be very time consuming and cumbersome. This is a tool aimed for DJs to ease their workflow by providing them a simple utility to download their favorites (FREE !) tracks.
It's as simple as this:
banger get https://soundcloud.com/fc_kabagar/kylie-on-jersey
When you're in a digging session, you might not want to spend time getting your tracks in-between each listening, but you still want to save them. Just write your tracks urls (Youtube or Soundcloud) inside your ~/Music/bangerbot/bangers.txt file.
When you're ready, run a batch to catch'em all:
banger batch
When downloading your bangers, BangerBot will automatically put them either in bangerbot/HQ-tracks/ (High Quality) or bangerbot/LQ-tracks/ (Low Quality) depending on their audio format, ready to be imported to your Traktor, Rekordbox or Serato libraries:
BangerBot will write the urls of all the downloaded tracks in bangers_history.txt.
But... why?
BangerBot is essentially a wrapper around scdl and yt-dlp. You could run a command with either of them and get the same result as with BangerBot. But you'd have to first decide which CLI tool to use depending on the source (Youtube or Soundcloud) and then remember their commands and all the options each time.
Here's what the equivalent of banger get <youtube_url> looks like with, e.g., yt-dlp:
yt-dlp --format bestaudio[ext=m4a] <youtube_url> -P <your_download_directory>
What BangerBot provides is mainly 2 things:
- A simple and consistent interface, because you don't care if that track is coming from SoundCloud or Youtube, you just want to
getit. - A workflow utility that helps you get straight to the point and reduce the hassle when preparing a DJ set.
Installation
1. Install pipx
If you don't have it, install pipx
MacOS
brew install pipx
pipx ensurepath
Linux
python3 -m pip install --user pipx
python3 -m pipx ensurepath
2. Install BangerBot
pipx install bangerbot
3. Run init
Follow the prompt to setup the folder used by BangerBot:
banger init
This will create the bangerbot folder and install the scdland yt-dlp dependencies via pipx if they are not found
Use BangerBot
get
Download a banger:
banger get https://soundcloud.com/fc_kabagar/kylie-on-jersey
batch
Download multiples bangers at once.
Simply put your tracks url inside bangers.txt (1 url per line) and run a batch:
banger batch
The default location for bangers.txt is ~/Music/bangerbot/bangers.txt but you can change it when setting up with banger init or you can point to any file you like using the -f option.
banger batch -f ~/Music/some_more_bangers.txt
Supported urls
For now, BangerBot only supports SoundCloud and Youtube urls.
Roadmap
- Support Youtube and SoundCloud urls
-
banger get -
banger batch - Tests
- Improve history format: banger_name: short_url
- Shell completion
-
banger infoto get info about a track -
banger historyto display history -
banger whereto show the location of the bangerbot folder - Safely clear banger.txt content after download
- Fetch metadata to downloaded tracks
Disclaimer
Supporting music artists is very important to keep them bangers coming. This tool is intended to get tracks when they are made freely available for download by the producer or as a last resort if you really can't get the track anywhere else.
Besides, tracks that are not freely available will be downloaded in .mp3 or .m4a which might sound ok for you at home but probably won't on a larger sound system.
Do not use this tool to steal artists and music producers hard work, seriously. 🙏
Metadata
Release files for bangerbot 0.1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| bangerbot-0.1.4.tar.gz | 6.8 kB | Without provenance | Details for bangerbot-0.1.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| bangerbot-0.1.4-py3-none-any.whl | Python 3 | none | any | Details for bangerbot-0.1.4-py3-none-any.whl |
Total release size: 14.7 kB
Release files / bangerbot-0.1.4.tar.gz
| Download URL | bangerbot-0.1.4.tar.gz |
|---|---|
| Size | 6.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a13bfec4728f22b5d70e3b9ae25499a7cc5b46fdf0bf6d8b0c3a2e9bfb0a6e3b
|
|
BLAKE2b-256 checksum How to use checksums |
fc7ca73d5f139c7cfa28a2944d5d89d8a2168097b255e8191dcdf541b9120c82
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.7.0 CPython/3.11.0 Linux/6.2.0-1015-azure
|
Release files / bangerbot-0.1.4-py3-none-any.whl
| Download URL | bangerbot-0.1.4-py3-none-any.whl |
|---|---|
| Size | 7.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2549bbc787814d8560b28ae5e0a100f4af4c20856e8e31b09f5208338192a53e
|
|
BLAKE2b-256 checksum How to use checksums |
8da32ab6de2468383a25da1790cbdb0288f7d3357e6ed5aca2a6eb2f80cdb06a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.7.0 CPython/3.11.0 Linux/6.2.0-1015-azure
|
Security for bangerbot 0.1.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.