
爬虫
有点坏。
编写不易,希望各位大神多多指教
展开
-
Python 爬微信男女人数和各地区人数
需要导入wxpy模块 from wxpy import * bot = Bot(cache_path=True) # 用于解决每次扫码登录 friends_stat = bot.friends().stats() friend_loc = [] # 每一个元素是一个二元列表,分别存储地区和人数信息 for province, count in friends_stat["provin...原创 2019-03-14 23:01:19 · 556 阅读 · 1 评论 -
scrapy 流程图详解
Scrapy是一个为了爬取网站数据,提取结构性数据而编写的应用框架。 可以应用在包括数据挖掘,信息处理或存储历史数据等一系列的程序中。 其最初是为了页面抓取 (更确切来说, 网络抓取 )所设计的, 也可以应用在获取API所返回的数据(例如 Amazon Associates Web Services ) 或者通用的网络爬虫。Scrapy用途广泛,可以用于数据挖掘、监测和自动化测试。1.Scrapy...原创 2019-05-15 19:20:25 · 1835 阅读 · 2 评论