scraping / library
lxml
Capability: lxml
Use it when
- parse HTML/XML at scale with lxml
- XPath and CSS-like parsing for scrapers
What it solves
Install
pip install lxml
Invoke
from lxml import html; tree = html.fromstring(body); tree.xpath('//a/@href')Alternatives
No reviewed alternatives recorded yet.