Remove beautifulsoup dependency: wrote a HTMLParser subclass.