📜  python beautifulsoup 示例 - Python 代码示例

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

代码示例1
import requests 
from bs4 import BeautifulSoup

URL = 'https://the.website_you_want_to_visit.com'
website = requests.get(URL)
results = BeautifulSoup(website.content, 'html.parser')