mirror of https://github.com/scrapy/scrapy.git
get_engine_status(): also look up open spiders in scraper component
This commit is contained in:
parent
e575e015c1
commit
dd90e83eae
|
|
@ -43,7 +43,7 @@ def get_engine_status(engine=None):
|
|||
status['global'][test] = eval(test)
|
||||
except Exception, e:
|
||||
status['global'][test] = "%s (exception)" % type(e).__name__
|
||||
for spider in engine.downloader.sites:
|
||||
for spider in engine.downloader.sites + engine.scraper.sites:
|
||||
x = {}
|
||||
for test in spider_tests:
|
||||
try:
|
||||
|
|
|
|||
Loading…
Reference in New Issue