(self, spider: Spider)
Open the given spider for scraping and allocate resources for it
Open the given spider for scraping and allocate resources for it
Open the given spider for scraping and allocate resources for it
def open_spider(self, spider: Spider):
        """Open the given spider for scraping and allocate resources for it"""
        self.slot = Slot(self.crawler.settings.getint('SCRAPER_SLOT_MAX_ACTIVE_SIZE'))
        yield self.itemproc.open_spider(spider)
def open_spider ( self , spider : Spider ) : self . slot = Slot ( self . crawler . settings . getint ( 'SCRAPER_SLOT_MAX_ACTIVE_SIZE' ) ) yield self . itemproc . open_spider ( spider )