Skip to main content

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


Download files

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

Source Distribution

broadcastify_cli-0.1.0.tar.gz (41.5 kB view hashes)

Uploaded Source

Built Distribution

broadcastify_cli-0.1.0-py3-none-any.whl (29.7 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