Category: python3

Simple podcast downloader

This simple python3 script will fetch all RSS attachments and save them in the format “Podcast Title” – “Episode Name”.mp3

Installing the dependencies:

pip3 install feedparser
import feedparser
import subprocess

feedURL = ''

d = feedparser.parse(feedURL)

for entry in d['entries']:
    episodeName = d['feed']['title'] + " - " + entry['title']
    for link in entry['links']:
        if link['type'] != 'text/html':
            url = link['href']
  ["wget", "-c", "-O", episodeName + ".mp3", url])