RSS for Spotify podcasts
Produces a simple RSS feed for podcasts on Spotify. Unfortunately not with links to mp3 files or such, since Spotify doesn't provide those. But still.
pip install feedgen python-dateutil spotipy
First, make sure you have a Spotify app.
Then, make an INI file with these contents:
[spotify] client_id = (your client ID) client_secret = (your client secret) market = (your two-letter country code)
Default filename is
config.ini in current directory. For any other filename, point to it via environment variable
SPR_CONFIG or use
--config parameter (see below).
When installed via
setup.py or PIP, the command
spr will point to
spr/cli.py. This takes a Spotify show ID as parameter and outputs RSS to stdout.
Command line syntax:
spr [-c/--config (path to config file)] SPOTIFY_SHOW_ID
spr.wsgi contains a very simple WSGI application. Given a URL ending with a Spotify show ID, it outputs an RSS feed for that podcast, or a 404 response if the podcast was not found. Without show ID, it gives you a wonderfully primitive POST form, which accepts a show ID or a full Spotify show URL.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size spotify_podcast_rss-0.3.2-py3-none-any.whl (18.1 kB)||File type Wheel||Python version py3||Upload date||Hashes View|
|Filename, size spotify-podcast-rss-0.3.2.tar.gz (4.7 kB)||File type Source||Python version None||Upload date||Hashes View|
Hashes for spotify_podcast_rss-0.3.2-py3-none-any.whl
Hashes for spotify-podcast-rss-0.3.2.tar.gz