skip to navigation
skip to content

Not Logged In

superss 0.0.8

RSS parsing with batteries included

Latest Version: 0.2.9

superss ====== RSS parsing with batteries included

feedparser is great, but sometimes it doesn’t put things in the same place. superss fixes this by finding all known candidates for urls, content, images, tags, dates, and authors and intelligently picks the best candidate. It also does some other cool things like author parsing with lauteur, url reconciliation with siegfried, and pulling links and images out of the article html.

Another problem with RSS parsing is that feeds sometimes only include a summary of the article. superss can also extract the article’s full text from the page itself using tk-name-of-article-extractor and then intelligently merging this data with the data from the feed.

Finally, some sites don’t even have RSS feeds. In this page we combine pageone and particle to create a feed of articles from article urls on a site’s homepage.

Install

pip install superss

Test

Requires nose. (only currently tests full_text rss feeds.)

nosetests

Usage

grab full-text feeds:

from superss import SupeRSS

s = SupeRSS('http://feeds.feedburner.com/publici_rss')
for entry in s.run():
  print entry

Grab non-full-text feeds:

from superss import SupeRSS

s = SupeRSS('http://feeds.feedburner.com/publici_rss', is_full_text = False)
for entry in s.run():
  print entry

Experimental: Build a feed from a homepage:

from superss import SupeRSS

s = SupeRSS(homepage = 'http://nytimes.com/')
for entry in s.run():
  print entry

TODO

  • [ ] Include article extraction
  • [ ] Add optional concurrency with gevent
 
File Type Py Version Uploaded on Size
superss-0.0.8.macosx-10.9-intel.exe (md5) MS Windows installer any 2014-06-08 161KB
superss-0.0.8.tar.gz (md5) Source 2014-06-08 97KB
  • Downloads (All Versions):
  • 116 downloads in the last day
  • 1073 downloads in the last week
  • 3238 downloads in the last month