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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: pasjonsfrukt-0.2.6.tar.gz
  • Upload date:
  • Size: 6.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.12.11 Darwin/24.0.0

File hashes

Hashes for pasjonsfrukt-0.2.6.tar.gz
Algorithm Hash digest
SHA256 6e46d631b3258f441253e40743a1f3111949dd92ee78a4f3fd0d4584a7180b51
MD5 1497a64586a37214bf5e426086cb4c69
BLAKE2b-256 f946f4e0b9fea14de6a4152299d721be89b902a5e44d7643a46e695a9013631c

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pasjonsfrukt-0.2.6-py3-none-any.whl
Algorithm Hash digest
SHA256 6763a17e8d1c6b6cd216d7d200e01c39a4c4422934e2eaef5c730bc00c2771a0
MD5 43675a428b2c1ed185f047659900cfa6
BLAKE2b-256 bb64b0a7762a48e39f7264aee1affe02ff68d145297593c75ee0dcc318f2d4c9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page