Python HTML parser based on the WHATWG HTML specification
Html5lib is an HTML parser based on the WHATWG HTML specification and written in Python.