Drudge Report RSS Feed

The Drudge Report does not have an RSS feed, and every unofficial one I've found was either broken or I didn't like it. I sat down and hammered my own out in about 30 minutes. It's written in Python, uses BeautifulSoup to parse out the HTML, MySQL to keep track of links and PyRSSGen2 to generate the RSS.

How it works

  1. First, it grabs the text of http://www.drudgereport.com using urllib2.
  2. Statefully parses the HTML using BeautifulSoup, throwing out the advertising sections.
  3. Grabs all of the links stuffs them in the database if they aren't already stored.
  4. Delete all of the stale links that are no longer on the Drudge Report.
  5. Write the RSS
The Feed
Back to the Projects Page © 2008 Ryan Crum