broadcastify-cli

CLI for interacting with the unoffical broadcastify API


Keywords
radio, cli, broadcastify
License
Other
Install
pip install broadcastify-cli==0.1.2

Documentation

broadcastify-cli

This is a tool to download brodcastify archives. It requires a broadcastify.com premium subscription.

Installation

pip install broadcastify-cli
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
...