code: def load_html_metadata(filename):
      
      parser = MetaParser()
      data = open(filename, 'r').read()
  
      if 'pycbc-meta' in data:
          print("LOADING HTML FILE %s" % filename)
      parser.feed(data)
      cp = ConfigParser.ConfigParser(parser.metadata)
      cp.add_section(os.path.basename(filename))
      return cp
docs: Get metadata from html file