Skip to content

Instantly share code, notes, and snippets.

@kjaymiller
Created November 28, 2021 06:23
Show Gist options
  • Save kjaymiller/f0dd66f7793ef0b796790751064689bd to your computer and use it in GitHub Desktop.
Save kjaymiller/f0dd66f7793ef0b796790751064689bd to your computer and use it in GitHub Desktop.
DBF Show Scraper
import feedparser as feed
from bs4 import BeautifulSoup
url = 'https://feeds.simplecast.com/5nKJV82u'
rss = feed.parse(url)
for entry in rss['entries']:
soup = BeautifulSoup(entry['content'][0]['value'])
print([x['href'] for x in soup.find_all('a')])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment