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

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
...

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.2.tar.gz (41.5 kB view details)

Uploaded Source

Built Distribution

broadcastify_cli-0.1.2-py3-none-any.whl (29.7 kB view details)

Uploaded Python 3

File details

Details for the file broadcastify_cli-0.1.2.tar.gz.

File metadata

  • Download URL: broadcastify_cli-0.1.2.tar.gz
  • Upload date:
  • Size: 41.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for broadcastify_cli-0.1.2.tar.gz
Algorithm Hash digest
SHA256 2335e0b925802c34b0318b0722fadef66b16de71872fe8077f644e0bea9368ba
MD5 679c91883dbaa69cfed58b333c55dade
BLAKE2b-256 d9a4858f2a6b27ad6eec17c9947d75e6ed46b216a70a8dfafbeea59faf38849e

See more details on using hashes here.

File details

Details for the file broadcastify_cli-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for broadcastify_cli-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 df7b22a488aaca58083e6cf932b4e87df69701584a4a2c08cd293d7eb17a1d55
MD5 e9fd7b35c441e1f900f70d118c1ab7dd
BLAKE2b-256 29e734c8571751b4909d54ad9a09ac6989426513c5ec7c01f2a2ae7ef940d7dc

See more details on using hashes here.

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