lxml.html get element by id
snippet in html

lxml.html get element by id

user4142

element = root.get_element_by_id("hello")