Skip to main content

Scrape PodMe podcast streams to mp3 and host with RSS feed

Project description

🍹 pasjonsfrukt

PyPI PyPI - Python Version PyPI - License

Scrape PodMe podcast streams to mp3 and host with RSS feed.

Note: A valid PodMe subscription is required to access premium content

Setup

  1. Install pasjonsfrukt
pip install pasjonsfrukt
  1. Install ffmpeg

  2. Define harvest and feed configurations by copying config.template.yaml to your own config.yaml.
    Most importantly, you need to provide:

    • a host path (for links in the RSS feeds)
    • login credentials (auth) for your PodMe account
    • the podcasts you wish to harvest and serve

Usage

Harvest episodes

Harvest episodes of all podcasts defined in config

pasjonsfrukt harvest

Harvest episodes of specific podcast(s)

pasjonsfrukt harvest [PODCAST_SLUG]...
Update feeds

Update all RSS feeds defined in config

pasjonsfrukt sync

Update RSS feed of specific podcast

pasjonsfrukt sync [PODCAST_SLUG]...

The feeds are always updated after harvest, so manual feed syncing is only required if files are changed externally

Serve RSS feeds with episodes

Run web server

pasjonsfrukt serve

RSS feeds will be served at <host>/<podcast_slug>, while episode files are served at <host>/<podcast_slug>/<episode_id>

host must be defined in the config file.

Secret

If a secret has been defined in the config, a query parameter (?secret=<secret-string>) with matching secret string is required to access the served podcast feeds and episode files. This is useful for making RSS feeds accessible on the web, without making them fully public. Still, the confidentiality is provided as is, with no warranties 🙃

Development

Formatting

poe fmt

uses Black code formatter

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

pasjonsfrukt-0.2.3.tar.gz (7.9 kB view details)

Uploaded Source

Built Distribution

pasjonsfrukt-0.2.3-py3-none-any.whl (9.0 kB view details)

Uploaded Python 3

File details

Details for the file pasjonsfrukt-0.2.3.tar.gz.

File metadata

  • Download URL: pasjonsfrukt-0.2.3.tar.gz
  • Upload date:
  • Size: 7.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.7 Darwin/24.0.0

File hashes

Hashes for pasjonsfrukt-0.2.3.tar.gz
Algorithm Hash digest
SHA256 dbc74b7c00a1c08a9c5385808df38678329cfb8749dc02b0fdbca23d0181ca33
MD5 3735014d96fcbb4d7c0d94925d8aeabf
BLAKE2b-256 15ce907e2a1b8ccffb5434cd330d6e39b90f887086b66b0bf71b96d1ac166f5a

See more details on using hashes here.

File details

Details for the file pasjonsfrukt-0.2.3-py3-none-any.whl.

File metadata

  • Download URL: pasjonsfrukt-0.2.3-py3-none-any.whl
  • Upload date:
  • Size: 9.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.7 Darwin/24.0.0

File hashes

Hashes for pasjonsfrukt-0.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 1d8758743653870efbb56f31f72567d881ebd2a1f858765095b35f5c4ee61b2a
MD5 97f992f69cc2012254c0a10f17355a6f
BLAKE2b-256 b50307d3887f694a9ca9000bc5e69571af6f505e5c954c6964cab926dad2f085

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