📅  最后修改于: 2022-03-11 14:45:23.253000             🧑  作者: Mango
import requests
from bs4 import BeautifulSoup
a_website = requests.get("Your URL")
a_soup = BeautifulSoup(a_website)
website_text = a_soup.findAll(text = True)
print(website_text)