请求网页内容

# features : 解析器类型
result = BeautifulSoup(pagecontent,features = 'html.parser')
# 获取所有ul标签
result.find_all('ul',id='list')

最后更新于

这有帮助吗?