Do not follow this link

~lobisquit/podcast_fetcher_spreaker

Convert podcasts from Spreaker into a RSS feed
76b08311 — Enrico Lovisotto a month ago
Not using debug, that triggers library logs
8aae6da0 — Enrico Lovisotto a month ago
Created script with README etc
5d5149fd — Enrico Lovisotto a month ago
Initial commit

refs

main
browse  log 

clone

read-only
https://git.sr.ht/~lobisquit/podcast_fetcher_spreaker
read/write
git@git.sr.ht:~lobisquit/podcast_fetcher_spreaker

You can also use your local clone with git send-email.

#Spreaker audio RSS feed extractor

This program fetches the latest Spreaker releases from one channel via RSS, downloads them in audio format and creates a new RSS feed pointing to the downloaded files.

This is meant for personal use in a podcast app.

#How to configure

The configuration file is a json-encoded list of dictionaries like the following.

[
    {
        "label": "<label to assing the feed>",
        "feed_url": "<url of the RSS feed associated to the Spreaker channel>"
    }
]

A folder with the label name is created for each channel, with mp3 files named with the Spreaker episode ID. IDs are matched with the title, etc. in the created RSS feed.

#How to run

The Python dependencies are the following

  • feedparser
  • feedgen

The program is run by setting the BASE_URL of the files in the new RSS feed and opening the configuration file.

export BASE_URL=podcast.example.com
python podcasts_spreaker.py configuration.json
Do not follow this link