- 博客(1)
- 收藏
- 关注
原创 中国大学排名2020爬虫
中国大学排名2020爬虫 代码改进部分 使用contents获取td的子节点并以列表的形式输出 def fillUnivList(uList,html): soup = BeautifulSoup(html,"html.parser") for tr in soup.find('tbody').children: if isinstance(tr,bs4.element.Tag): # print(tr) tds = tr('t
2021-01-26 01:28:00
196
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅