lxml.html
Table of Contents
References
- Guide
- https://lxml.de/lxmlhtml.html
HtmlElement
specific- https://lxml.de/api/lxml.html.HtmlMixin-class.html
Parse HTML howto
- Use
lxml.html.parse
- Note that
parse()
returns anElementTree
object, not anElement
object as the string parser functions.
Write HTML howto
write()
exists inElementTree
object.- Use
method=html