Skip to main content

No project description provided

Project description

Car Talk Archiver

A script that generates an RSS XML feed containing every Car Talk episode currently hosted by NPR, dating back to 2007. Host via HTTP and update with a program like crontab for maximum effect.

Compatible with any podcast application that supports RSS.

Requirements

python = "^3.10"
beautifulsoup4 = "^4.11.2"
feedgen = "^0.9.0"
requests = "^2.28.2"

Installation

pip install car-talk-archiver

Usage

usage: cta.py [-h] [-i file] [-o file]

Generate a podcast RSS feed containing every Car Talk episode currently hosted by NPR.

options:
  -h, --help            show this help message and exit
  -i file, --input file
                        file name of an existing feed (if specified, script will only check for newer episodes)
  -o file, --output file
                        output file name (defaults to cartalk_<timestamp>.xml in current working directory)

Examples

Generate a new feed:

$ ./cta.py

Use an existing feed to generate a new feed including the most recent episodes:

$ ./cta.py -i cartalk.xml

Update and overwrite an existing feed with the most recent episodes:

$ ./cta.py -i cartalk.xml -o cartalk.xml

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

car_talk_archiver-1.0.3.tar.gz (5.1 kB view hashes)

Uploaded Source

Built Distribution

car_talk_archiver-1.0.3-py3-none-any.whl (5.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page