I\'m looking to somewhat generate a "table of contents" of sorts with BeautifulSoup. I\'ve tried extracting the h1, h2, and h3 tags and building a string accordin