soup.get_text() outputs what you want: from bs4 import BeautifulSoup soup = BeautifulSoup(html) print(soup.get_text()). output:
確定! 回上一頁