2018年11月26日

python爬虫---requests库的用法

摘要: requests是python实现的简单易用的HTTP库,使用起来比urllib简洁很多 因为是第三方库,所以使用前需要cmd安装 pip install requests 安装完成后import一下,正常则说明可以开始使用了。 基本用法: requests.get()用于请求目标网站,类型是一个H 阅读全文

posted @ 2018-11-26 15:27 ExplorerMan 阅读(350) 评论(0) 推荐(0)

导航