fixed crawlspider bug introduced after scheduler refactoring

This commit is contained in:
Pablo Hoffman 2011-08-03 20:25:14 -03:00
parent cb95d7a5af
commit cd8470b309
1 changed files with 1 additions and 1 deletions

View File

@ -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)