From bccef8a46381d6f817f66e210c91465347cbc6d5 Mon Sep 17 00:00:00 2001 From: Ismael Carnales Date: Sat, 31 Jan 2009 06:09:50 +0000 Subject: [PATCH] fixed basespider links in topics/spider --HG-- extra : convert_revision : svn%3Ab85faa78-f9eb-468e-a121-7cced6da292c%40818 --- scrapy/trunk/docs/topics/spiders.rst | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/scrapy/trunk/docs/topics/spiders.rst b/scrapy/trunk/docs/topics/spiders.rst index e7bb67bd8..63505b4c9 100644 --- a/scrapy/trunk/docs/topics/spiders.rst +++ b/scrapy/trunk/docs/topics/spiders.rst @@ -16,10 +16,11 @@ For spiders, the scraping cycle goes through something like this: those requests. The first requests to perform are obtained by calling the - :meth:`scrapy.spiders.BaseSpider.start_requests` method which (by default) generates - :class:`~scrapy.http.Request` for the URLs specified in the - :attr:`scarpy.spiders.BaseSpider.start_urls` and the ``BaseSpider.parse`` method as - callback function for the Requests. + :meth:`~scrapy.spider.BaseSpider.start_requests` method which (by default) + generates :class:`~scrapy.http.Request` for the URLs specified in the + :attr:`~scrapy.spider.BaseSpider.start_urls` and the + :attr:`~scrapy.spider.BaseSpider.parse` method as callback function for the + Requests. 2. In the callback function you parse the response (web page) and return an iterable containing either ScrapedItem or Requests, or both. Those Requests