Error handling and this readme.md was provided by chatgpt. and hardcoded modifications aswell many other common features were worked and modified by me non ai.
A Python script to download media from a podcast XML feed.
Execute the script and provide the RSS feed URL when prompted.
python podcast_downloader.py
<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:media="http://search.yahoo.com/mrss/">
<channel>
...nodes...
<item>
...nodes...
<enclosure url="http://theFileToDownload.extension"/>
</item>
<item>
...nodes...
<enclosure url="http://theFileToDownload.extension"/>
</item>
</channel>
</rss>
- Downloads podcast episodes based on the provided RSS feed.
- Renames files to the title of the item + original file extension.
- Allows setting start and end parameters to limit the range of downloaded podcasts.
Make sure you have the required Python libraries installed:
pip install requests
- Run the script:
python podcast_downloader.py
. - Input the RSS feed URL when prompted. Optionally, set start and end episode parameters.
- The script will download podcast episodes, displaying a progress bar for each download.
This script is licensed under the GNU v3.0 License.
- Original Bash script by Andrew Morton (GitHub Repository).
- Wowfunhappy's Modified Bash script (Gist).
- Modified to Python by GhostyTongue, adapting Wowfunhappy's changes.
- vForked (12/13/2024):
TODO: Create option to rename files to the title of the item + original file extension.Completed.- Files are now renamed to the title of the podcast episode along with the original file extension.
TODO: Create start and end parameters to limit the range of downloaded podcasts.Completed.- Users can set start and end parameters to download a specific range of episodes.