Scrapy, a fast high-level web crawling & scraping framework for Python.
[Docs] Rephrase Rule docs
Eugenio Lacuesta8ebbc731b2bd
diff --git a/docs/topics/spiders.rst b/docs/topics/spiders.rstindex 5417ef129..7290bb844 100644--- a/docs/topics/spiders.rst+++ b/docs/topics/spiders.rst@@ -380,13 +380,13 @@ Crawling rulesdefines how links will be extracted from each crawled page. Each produced link willbe used to generate a :class:`~scrapy.http.Request` object, which will contain thelink's text in its ``meta`` attribute.- The link text can be accessed from the callback method though ``response.meta['link_text']````callback`` is a callable or a string (in which case a method from the spiderobject with that name will be used) to be called for each link extracted with- the specified link_extractor. This callback receives a response as its first- argument and must return a list containing :class:`~scrapy.item.Item` and/or- :class:`~scrapy.http.Request` objects (or any subclass of them).+ the specified link extractor. This callback receives a :class:`~scrapy.http.Response`+ as its first argument and must return either a single instance or an iterable of+ :class:`~scrapy.item.Item`, ``dict`` and/or :class:`~scrapy.http.Request` objects+ (or any subclass of them)... warning:: When writing crawl spider rules, avoid using ``parse`` ascallback, since the :class:`CrawlSpider` uses the ``parse`` method