CLI for interacting with the unoffical broadcastify API
Project description
broadcastify-cli
This is a tool to download brodcastify archives. It requires a broadcastify.com premium subscription.
Installation
git clone https://github.com/NotJoeMartinez/broadcastify-cli
cd broadcastify-cli
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
pip install -e .
Configuration
make a .env
file and enter your username and password in the variables
USERNAME="yourUserName"
PASSWORD="yourPassword"
Usage
You need to get the feed id from broadcastify feed page you intend to download. It's the last digits of the url.
url: https://www.broadcastify.com/archives/feed/5318
feed id: 5318
Once you have the feed id you can pass it to the download
command using the
--feed-id
flag and you should specify a date with the --date
flag in the
format MM/DD/YY
. It will download all available archives if --date
is not
specified.
This command will download all recordings from Dallas City Police on April 17th 2024:
broadcastify-cli download --feed-id 5318 --date 04/17/2024
This will create a new directory tree formated like archives/feed_id/MMDDYYY
archives
└── 5318
└── 04172024
├── 202404170021-373175-5318.mp3
├── 202404170050-396916-5318.mp3
├── 202404170120-465838-5318.mp3
├── 202404170150-841921-5318.mp3
├── 202404170220-588343-5318.mp3
├── 202404170250-11638-5318.mp3
...
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for broadcastify_cli-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3c10474032305625043484f7ef8acc13e0be5d741dfd388ebaf53e3940f46892 |
|
MD5 | 464fbcfa09dfdf1280b4f8f2679d38ad |
|
BLAKE2b-256 | 38daa0a410dde8959d4b9da2339e7bb7a5c7f38661f396eeb0d38fd8dcf08bcc |