mirror of
https://github.com/scrapy/scrapy.git
synced 2025-02-25 16:43:47 +00:00
fixed crawlspider bug introduced after scheduler refactoring
This commit is contained in:
parent
cb95d7a5af
commit
cd8470b309
@ -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)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user