Scraping using lxml, a Python library
lxml is a XML toolkit, with a rich library set to process XML and HTML. lxml is preferred over other XML-based libraries in Python for its high speed and effective memory management. It also contains various other features to handle both small or large XML files. Python programmers use lxml to process XML and HTML documents. For more detailed information on lxml and its library support, please visit https://lxml.de/.
lxml provides native support to XPath and XSLT and is built on powerful C libraries: libxml2 and libxslt. Its library set is used normally with XML or HTML to access XPath, parsing, validating, serializing, transforming, and extending features from ElementTree (http://effbot.org/zone/element-index.htm#documentation ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access