需要去找个,html网页的主体内容提取的Python库python html body content extractExtracting text from HTML file using Python – Stack OverflowPython how to extract contents from html file – Stack Overflowpython – How can I extract the contents of the <body> tag? – Stack Overflowxpath – Extracting the contents of an HTML page element using Python – Stack OverflowPython how to extract contents from html file – Stack Overflowpython – How can I extract the contents of the <body> tag? – Stack Overflowxpath – Extracting the contents of an HTML page element using Python – Stack OverflowExtracting text from HTML in Python: a very fast approach | Artem GolubinExtract text from a webpage using BeautifulSoup and Python – matix.ioExtracting Data from HTML with BeautifulSoup | Pluralsighthtml.parser — Simple HTML and XHTML parser — Python 3.8.5 documentation好像BeautifulSoup就够了?去试试:【未解决】Python的BeautifulSoup去实现提取带tag的HTML网页主体内容至此算是基本解决了。转载请注明:在路上 » 【未解决】Python的html网页主体内容提取 Post Views: 1,097