For too long, I, like many developers, believed that an over-engineered IDE was a necessity for professional coding. However, ...
htmlparser2 is the fastest HTML parser, and takes some shortcuts to get there. If you need strict HTML spec compliance, have a look at parse5.