Scrape PodMe podcast streams to mp3 and host with RSS feed
Project description
🍹 pasjonsfrukt
Scrape PodMe podcast streams to mp3 and host with RSS feed.
Note: A valid PodMe subscription is required to access premium content
Setup
- Install
pasjonsfrukt
pip install pasjonsfrukt
-
Install
ffmpeg
-
Define harvest and feed configurations by copying
config.template.yaml
to your ownconfig.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
- a
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
Built Distribution
File details
Details for the file pasjonsfrukt-0.2.4.tar.gz
.
File metadata
- Download URL: pasjonsfrukt-0.2.4.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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 476b12b2ea89f352988fed17bf69093b37c8893c460a8276062b8a749ddfc4f0 |
|
MD5 | 5b9b55f03d27242e8217d7d0f0973e64 |
|
BLAKE2b-256 | 219ef91012fd572872b0912a8aa9ad3c06a20a45b71f748095ef4da418aa007f |
File details
Details for the file pasjonsfrukt-0.2.4-py3-none-any.whl
.
File metadata
- Download URL: pasjonsfrukt-0.2.4-py3-none-any.whl
- Upload date:
- Size: 8.9 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | ad984e8f7ee7c6268de7cffa739d56016adf82710cf393e06e9724d83316e381 |
|
MD5 | 9b5d536fa556c506eb699dff54efad55 |
|
BLAKE2b-256 | 5167389d15f563870973193302d03b6fc8ff995d383d2b3c06bec1f9b2156fad |