BeautifulSoup - Generate an ordered list of header elements (like a table of contents)

后端 未结 0 349
自闭症患者
自闭症患者 2020-12-03 04:47

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

相关标签:
回答
  • 消灭零回复
提交回复
热议问题