📅  最后修改于: 2022-03-11 14:46:44.288000             🧑  作者: Mango
# credit to the Stack Overflow user in the source link
from bs4 import BeautifulSoup
soup = BeautifulSoup(html)
text = soup.get_text()
print(text)