from lxml import etree html = """