From c5499ead733c29156c73b84bfab4e21c03b3cd7c Mon Sep 17 00:00:00 2001 From: Pablo Hoffman Date: Fri, 4 Feb 2011 13:39:12 -0200 Subject: [PATCH] Clarified behaviour when multiple rules match the same link in CrawlSpider --- docs/topics/spiders.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/topics/spiders.rst b/docs/topics/spiders.rst index d42c8b24d..7f252dc38 100644 --- a/docs/topics/spiders.rst +++ b/docs/topics/spiders.rst @@ -222,7 +222,9 @@ CrawlSpider Which is a list of one (or more) :class:`Rule` objects. Each :class:`Rule` defines a certain behaviour for crawling the site. Rules objects are - described below. + 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. + Crawling rules ~~~~~~~~~~~~~~