Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
xml.etree.ElementTree
from html.parser import HTMLParser
https://
xml.etree.ElementTree is for parsing strict XML text.
Do NOT use xml.etree.ElementTree to parse HTML string.