📅  最后修改于: 2022-03-11 14:45:29.968000             🧑  作者: Mango
from bs4 import BeautifulSoup
import requests
URL = 'https://google.com/'
content = requests.get(URL)
soup = BeautifulSoup(content.text, 'html.parser')
print(soup.text)
#This code will print the website content of google
#You can change the website by editing the URL inside the variable named 'URL'