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.
python = "^3.10"
beautifulsoup4 = "^4.11.2"
feedgen = "^0.9.0"
requests = "^2.28.2"
pip install car-talk-archiver
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)
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