Skip to content

Instantly share code, notes, and snippets.

@bdunnette
Last active August 29, 2015 13:58
Show Gist options
  • Save bdunnette/10158164 to your computer and use it in GitHub Desktop.
Save bdunnette/10158164 to your computer and use it in GitHub Desktop.
import feedparser
import urllib
feed = feedparser.parse('http://ws.audioscrobbler.com/2.0/user/lazymofo/podcast.rss')
for item in feed.entries:
item_url = item.links[0].href
print item_url
file = urllib.urlretrieve(item_url)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment