RSS for Spotify podcasts
Project description
spotify-podcast-rss
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.
Requirements
pip install feedgen python-dateutil spotipy
Configuration
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).
Usage
Command line
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
WSGI
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.
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 spotify-podcast-rss-0.3.3.tar.gz
.
File metadata
- Download URL: spotify-podcast-rss-0.3.3.tar.gz
- Upload date:
- Size: 5.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8da6738c6094706a9a19ea70ee9f5408e40a2157b75854caf60f23a2bddda951 |
|
MD5 | e78fcb80f6b3dd62d8a495871fe5aed0 |
|
BLAKE2b-256 | 0e67d6482ba8e6ef10f66e1dd77eab520134013b2ff5a645beed70a162816ea5 |
File details
Details for the file spotify_podcast_rss-0.3.3-py3-none-any.whl
.
File metadata
- Download URL: spotify_podcast_rss-0.3.3-py3-none-any.whl
- Upload date:
- Size: 18.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b45ad742783d44f8e87e9444c181420add93d949e7a413b9a8c1992aa064dbb3 |
|
MD5 | 5a5305fb20d200860fa07e5c45e5d310 |
|
BLAKE2b-256 | aadb37427179c33e5284ea34957579c35979c1008196aece4cfbe2c66a88c80f |