A simple podcast feed parser
Project description
podfeed
podfeed
is a python3 package that will read an RSS feed for a podcast and provide episode-level utilties for download or playlist creation.
Installation
$ pip install podfeed
Example Usage
from podfeed import parseFeed
# Collect episodes published after May 1st, 2018
episodes = parseFeed("https://www.npr.org/rss/podcast.php?id=510289", 1525132800)
# Write each episode to a file
for episode in episodes:
episode.writeFile("./{0}_{1}.{2}".format(
episode.getTitle(), episode.getDate(), episode.getExt()))
Documentation
Logging
podfeed
uses the built-in python logging module, using loggers with the top-level name podfeed
.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
podfeed-1.0.1.tar.gz
(3.8 kB
view hashes)