interface documentation

class ISpiderLoader(Interface): (source)

Known implementations: scrapy.spiderloader.SpiderLoader

View In Hierarchy

Undocumented

Method find_by_request Return the list of spiders names that can handle the given request
Method from_settings Return an instance of the class for the given settings
Method list Return a list with the names of all spiders available in the project
Method load Return the Spider class for the given spider name. If the spider name is not found, it must raise a KeyError.
def find_by_request(request): (source)

Return the list of spiders names that can handle the given request

def from_settings(settings): (source)

Return an instance of the class for the given settings

def list(): (source)

Return a list with the names of all spiders available in the project

def load(spider_name): (source)

Return the Spider class for the given spider name. If the spider name is not found, it must raise a KeyError.