摘要:
Requests库入门 网络爬虫的盗亦有道,robots规则 Requests库的实例 安装Requests库 Windows + R进cmd 先更新pip python -m pip install --upgrade 再安装request pip install requests Request
阅读全文
posted @ 2018-09-16 23:25
慕鸢
阅读(103)
推荐(0)
编辑
摘要:
一句很装逼的话, The Website is the API.. (网站就是api) 把网站当成api,当成获取数据的接口 利用Requests库 注意robots.txt Beautiful Soup库解析信息内容 Re库正则表达式 爬虫框架Scrapy 课程目的:掌握定向网络数据爬取和网页解析
阅读全文
posted @ 2018-09-16 23:01
慕鸢
阅读(99)
推荐(0)
编辑