Extract text from HTML
Project description
HTML to Text
Extract text from HTML
Free software: MIT license
Install
Install with pip:
pip install html-text
The package depends on lxml, so you might need to install some additional packages: http://lxml.de/installation.html
Usage
Extract text from HTML:
>>> import html_text >>> text = html_text.extract_text(u'<h1>Hey</h1>') u'Hey'
Credits
The code is extracted from utilities used in several projects, written by Mikhail Korobov.
History
0.1.1 (2017-01-16)
Travis-CI and codecov.io integrations added
0.1.0 (2016-09-27)
First release on PyPI.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
html_text-0.1.1.tar.gz
(10.4 kB
view hashes)