def first_page(self): new_soup = BeautifulSoup(self.split_page_head()) new_soup.wrap(soup.new_tag("html"))