Not using debug, that triggers library logs
Created script with README etc
Initial commit
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.
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.
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