我有一个令人毛骨悚然的蜘蛛,我将开始使用以下脚本:
process = CrawlerProcess(get_project_settings())
process.crawl(NqbpSpider)
process.start() # the script will block here until the crawling is finished
但是我遇到了twisted.internet.error.ReactorNotRestartable。如果我不使用get_project_settings()函数,则不会收到此错误。知道为什么会这样吗?