网络爬虫
文章平均质量分 84
夏绿
非我无酒,以敖以游
展开
-
网络爬虫系列笔记(2)——Requests库
Unit 1 : Requests库入门 (7 * 13) (1)、安装 pip install requests 测试 import requests r = requests.get("http://www.baidu.com") r.status_code 200 r.encoding = 'utf-8' r.text #打印内原创 2017-08-31 12:51:19 · 621 阅读 · 0 评论 -
网络爬虫系列笔记(3)——Beautiful Soup库
Unit1:Beautiful Soup 一、安装 https://www.crummy.com/software/BeautifulSoup/ 管理员权限打开命令行:pip install beautifulsoup4(注意:使用pip install beautifulsoup 会失败) 安装测试:演示地址(http://python123原创 2017-08-31 13:25:14 · 842 阅读 · 0 评论 -
网络爬虫系列笔记(4)——Scrapy爬虫
Scrapy爬虫 Scrapy 不是一个简单的函数功能库;而是一个专业的网络爬虫框架 Scrapy 足以支持一般商业服务所需的爬虫能力:持续爬取、商业服务、高可靠性 scrapy库的安装: pip install scrapy scrapy -h Available commands: bench Run quick benchmark te原创 2017-08-31 13:43:02 · 1958 阅读 · 1 评论