return spider

def idle(self):
    if not self.yet:
        self.crawler.engine.crawl(self.create_request(), self)
self.yet = True
Scrapy: How to manually insert a request from a spider_idle event callback?