mirror of
https://github.com/scrapy/scrapy.git
synced 2025-02-24 05:45:31 +00:00
Try it with a string
This commit is contained in:
parent
d27c2c68ba
commit
50730ed228
@ -68,7 +68,7 @@ class Command(ScrapyCommand):
|
||||
|
||||
spider_loader = self.crawler_process.spider_loader
|
||||
|
||||
with set_environ(SCRAPY_CHECK=True):
|
||||
with set_environ(SCRAPY_CHECK='true'):
|
||||
for spidername in args or spider_loader.list():
|
||||
spidercls = spider_loader.load(spidername)
|
||||
spidercls.start_requests = lambda s: conman.from_spider(s, result)
|
||||
|
Loading…
x
Reference in New Issue
Block a user