Skip to content

Commit c5499ea

Browse files
committed
Clarified behaviour when multiple rules match the same link in CrawlSpider
1 parent 65fc2fb commit c5499ea

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/topics/spiders.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,9 @@ CrawlSpider
222222

223223
Which is a list of one (or more) :class:`Rule` objects. Each :class:`Rule`
224224
defines a certain behaviour for crawling the site. Rules objects are
225-
described below.
225+
described below. If multiple rules match the same link, the first one
226+
will be used, according to the order they're defined in this attribute.
227+
226228

227229
Crawling rules
228230
~~~~~~~~~~~~~~

0 commit comments

Comments
 (0)