MCPcopy
hub / github.com/scrapy/scrapy / load

Method load

scrapy/interfaces.py:10–12  ·  view source on GitHub ↗

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

(spider_name)

Source from the content-addressed store, hash-verified

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
12 name is not found, it must raise a KeyError."""
13
14 def list():
15 """Return a list with the names of all spiders available in the

Callers 15

_create_crawlerMethod · 0.45
_create_crawlerMethod · 0.45
spidercls_for_requestFunction · 0.45
_spider_existsMethod · 0.45
runMethod · 0.45
set_spiderclsMethod · 0.45
runMethod · 0.45
runMethod · 0.45
runMethod · 0.45
_read_dqs_stateMethod · 0.45
_read_metaMethod · 0.45

Calls

no outgoing calls

Tested by 5

_check_outputMethod · 0.36
test_loadMethod · 0.36
test_dummy_spider_loaderFunction · 0.36