
scrapy
huzai9527
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Scrapy爬取两万张小姐姐并按文件夹保存
一、创建scrapy项目 scrapy startproject tupian 二、各个组件的编写 items.py 定义你要爬取的字段 # -*- coding: utf-8 -*- # Define here the models for your scraped items # # See documentation in: # https://doc.scrapy.org/e...原创 2018-11-04 19:41:22 · 388 阅读 · 1 评论 -
用scrapy爬取可用的代理
一、分析免费代理网站的结构 我爬取了三个字段:IP、port、type 二、分析要爬取的数据,编写items.py 因此在items.py中,建立相应的字段 import scrapy class IproxyItem(scrapy.Item): # define the fields for your item here like: # name = scrapy.Fie...原创 2018-11-18 17:41:10 · 366 阅读 · 1 评论