Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save twoblokeswithapostie/9324055 to your computer and use it in GitHub Desktop.
Save twoblokeswithapostie/9324055 to your computer and use it in GitHub Desktop.
# Extracts MP3 file links from Business Catalyst RSS feed
from urllib import urlopen
import re
source = urlopen('http://www.businesscatalyst.com/RSSRetrieve.aspx?ID=41&Type=RSS20').read()
link = re.compile('<a href=(.*)\.mp3')
find_link = re.findall(link, source)
for link in find_link:
print "Link: %s \n" %link
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment