Skip to main content

RSS parsing with batteries included

Project description

travis-img 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.

Install

pip install superss

Test

Requires nose

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

TK 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

TODO

  • [ ] Include article extraction

  • [ ] Add optional concurrency with gevent

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

superss-0.0.6.tar.gz (99.4 kB view details)

Uploaded Source

Built Distribution

superss-0.0.6.macosx-10.9-intel.exe (164.0 kB view details)

Uploaded Source

File details

Details for the file superss-0.0.6.tar.gz.

File metadata

  • Download URL: superss-0.0.6.tar.gz
  • Upload date:
  • Size: 99.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for superss-0.0.6.tar.gz
Algorithm Hash digest
SHA256 da43afa7569371d1018ab0e0314723a03490cf7e7624ca38f3fe09bf1426ad4b
MD5 b60711424230093a311d9f37bc3414cd
BLAKE2b-256 842117fc5c4337fb0c0d34cdd5a553cbdd3d783e769ceeced919bfa54efa2f48

See more details on using hashes here.

File details

Details for the file superss-0.0.6.macosx-10.9-intel.exe.

File metadata

File hashes

Hashes for superss-0.0.6.macosx-10.9-intel.exe
Algorithm Hash digest
SHA256 7018d984ed73ba068ce5c8a1e1dbb65a7eb0f1e67f4e8b0e45cbe91718b25b1e
MD5 0580d87717befc6c4ac5dfd0c2d3628f
BLAKE2b-256 b20db1c88453bb8fbf17eca01611fe64e308353b8346ff570f5940fbe2fbb168

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page