python爬虫--小例子
网址:http://www.pharmnet.com.cn/tcm/knowledge/detail/105486.html#爬虫import requests,refrom bs4 import BeautifulSoupapi_url="http://www.pharmnet.com.cn/tcm/knowledge/detail/105486.html"res=requests.get(api_url)soup=BeautifulSoup(res.text,"html.parser")
原创
2020-09-12 17:40:39 ·
172 阅读 ·
0 评论