Import HTMLParser from html.parser for Python 3.x