尝试用 Django 调用 scrapy 的 CrawlerProcess 来执行爬虫,报 signal only works in main thread,请问该怎么解决。
switching from CrawlerProcess to CrawlerRunnerhttps://doc.scrapy.org/en/latest/topics/api.html#scrapy.crawler.CrawlerRunner