摘要: 爬虫爬取网站信息1 需要用到的库 -requests -bs42 流程 1通过requests发送get请求,这里请求包括url和user-agent 2通过beautifulsoup将response转换成lxml格式 3通过soup.select查找需要的数据,是一个列表的形式,可以同归索引取值 阅读全文
posted @ 2018-11-20 11:50 BackEndJT 阅读(146) 评论(0) 推荐(0) 编辑