首页 > 其他 > 详细

scrapy 关于 rule, 关于多页

时间:2018-10-24 10:16:49      阅读:200      评论:0      收藏:0      [点我收藏+]

分页

https://www.jianshu.com/p/0c957c57ae10

 

关于 follow=true, rule

https://zhuanlan.zhihu.com/p/25650763

 

关于rule

Each Rule defines a certain behaviour for crawling the site. Rules objects are described below. If multiple rules match the same link, the first one will be used, according to the order they’re defined in this attribute.

 

further more,

rule (xxxx , callback=F1 ... )

rule (yyyy, callback=F1 ... )

 

 

def F1,

def F2

scrapy 关于 rule, 关于多页

原文:https://www.cnblogs.com/pythonClub/p/9841099.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!