MCPcopy
hub / github.com/scrapy/scrapy / from_settings

Method from_settings

scrapy/interfaces.py:7–8  ·  view source on GitHub ↗

Return an instance of the class for the given settings

(settings)

Source from the content-addressed store, hash-verified

5
6class ISpiderLoader(Interface):
7 def from_settings(settings):
8 """Return an instance of the class for the given settings"""
9
10 def load(spider_name):
11 """Return the Spider class for the given spider name. If the spider

Calls

no outgoing calls