use HTMLParser instead of lxml for reading html files