📌  相关文章
📜  beautifulsoup 删除所有 html 标签 - Python 代码示例

📅  最后修改于: 2022-03-11 14:46:44.288000             🧑  作者: Mango

代码示例1
# credit to the Stack Overflow user in the source link

from bs4 import BeautifulSoup

soup = BeautifulSoup(html)
text = soup.get_text()
print(text)