code: def to_html(self, write_to):
          
          page_html = self.get_html()
  
          with open(write_to, "wb") as writefile:
              writefile.write(page_html.encode("utf-8"))
docs: Method to convert the repository list to a search results page and
          write it to a HTML file.
  
          :param write_to: File/Path to write the html file to.