📅  最后修改于: 2022-03-11 14:46:41.888000             🧑  作者: Mango
代码示例1
from bs4 import BeautifulSoup
with open("index.html") as fp:
soup = BeautifulSoup(fp)
soup = BeautifulSoup("a web page")