code: def parse_html(fileobj, encoding):
      
      parser = HTMLParser(encoding=encoding, remove_blank_text=True)
      return parse(fileobj, parser)
docs: Given a file object *fileobj*, get an ElementTree instance.
      The *encoding* is assumed to be utf8.