Scrapy, a fast high-level web crawling & scraping framework for Python.
fixed crawlspider bug introduced after scheduler refactoring
Pablo Hoffmancd8470b3092a
diff --git a/scrapy/contrib/spiders/crawl.py b/scrapy/contrib/spiders/crawl.pyindex 30c17e8c3..e6a2d66c4 100644--- a/scrapy/contrib/spiders/crawl.py+++ b/scrapy/contrib/spiders/crawl.py@@ -53,7 +53,7 @@ class CrawlSpider(BaseSpider):links = rule.process_links(links)seen = seen.union(links)for link in links:- r = Request(url=link.url, callback='_response_downloaded')+ r = Request(url=link.url, callback=self._response_downloaded)r.meta.update(rule=n, link_text=link.text)yield rule.process_request(r)