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.4.tar.gz (99.4 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for superss-0.0.4.tar.gz
Algorithm Hash digest
SHA256 4a2fc3ed2fa8150d3947ad6ac1c263c1e6382c93c3889923e52dd69a3d7e2ff4
MD5 a7af4811a6c5c3e400e192d1bd4235d1
BLAKE2b-256 c110f0073ab58fe4b733654e84a8156e8c42519cf0011ab5ddf526931a65c664

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for superss-0.0.4.macosx-10.9-intel.exe
Algorithm Hash digest
SHA256 426c14aa1b0a47a8128d1a3d971c16f9faba1d3840e66560c38fad7caacc607b
MD5 e25dbf3489096a85d3a417a989878270
BLAKE2b-256 41f8eb06fad83f990ab21d77b26b1c4aa1d775af0271662b1d6da6328157c653

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