Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/phensley/python-readable

Python port of Arc90's Readability content extraction rules
https://github.com/phensley/python-readable

Last synced: about 1 month ago
JSON representation

Python port of Arc90's Readability content extraction rules

Awesome Lists containing this project

README

        

readable - A port of the Arc90 readability Javascript rules to Python:

http://lab.arc90.com/experiments/readability

License: Apache 2.0.

Depends on the Python lxml module.

Currently only the article body extraction is implemented, and there is
a slight delta between the output produced by the JS version due to the
differences in how DOM is represented and manipulated between the browser DOM
and Python's lxml. For instance, lxml represents text as attributes on nodes
rather than nodes themselves. These differences complicated the translation of
the algorithm a bit.