Python网络爬虫之scrapy爬虫的基本使用

版权声明:转载请声明原文链接地址,谢谢! https://blog.csdn.net/weixin_42859280/article/details/84491586

在这里插入图片描述
Scrapy爬虫的数据类型:

 1. Request类:向网络上提交请求,跟requests库里的不是一个类型!
 2.  Responce类:封装爬取内容
 3. ITEM:spider封装类

在这里插入图片描述在这里插入图片描述

Responce:
在这里插入图片描述
7个:
在这里插入图片描述
ITem类:
在这里插入图片描述在这里插入图片描述在这里插入图片描述

猜你喜欢

转载自blog.csdn.net/weixin_42859280/article/details/84491586