mirror of
https://github.com/scrapy/scrapy.git
synced 2025-02-24 08:43:55 +00:00
Removed code no longer needed
This commit is contained in:
parent
766f2d910d
commit
5ffc7650bd
@ -160,10 +160,7 @@ class Scraper(object):
|
||||
"""Process each Request/Item (given in the output parameter) returned
|
||||
from the given spider
|
||||
"""
|
||||
# TODO: keep closing state internally instead of checking engine
|
||||
if spider in self.engine.closing:
|
||||
return
|
||||
elif isinstance(output, Request):
|
||||
if isinstance(output, Request):
|
||||
send_catch_log(signal=signals.request_received, request=output, \
|
||||
spider=spider)
|
||||
self.engine.crawl(request=output, spider=spider)
|
||||
|
Loading…
x
Reference in New Issue
Block a user