scrapy/scrapy — pull request #982 by ArturGaspar (2014-12-12 12:53:13+00:00)
Title: Crawlspider rule enhancements

This adds a new feature to CrawlSpider Rules.

"to" and "in_" values can be set in rules. Rules with an "in_" value will only be applied to responses that resulted from a rule with a "to" value equal to the "in_" value.

This can be used to only apply certain rules to the results of other specific rules. For example, in documentation I have also updated to describe the new feature, the item rule is only applied in results of the category rule.