(self)
Schedules a request if available
Schedules a request if available
Schedules a request if available
def schedule_next_requests(self):
        """Schedules a request if available"""
        # TODO: While there is capacity, schedule a batch of redis requests.
        for req in self.next_requests():
            self.crawler.engine.crawl(req, spider=self)
def schedule_next_requests ( self ) : # TODO: While there is capacity, schedule a batch of redis requests. for req in self . next_requests ( ) : self . crawler . engine . crawl ( req , spider = self )