MCPcopy
hub / github.com/scrapy/scrapy / start

Method start

scrapy/commands/parse.py:260–261  ·  view source on GitHub ↗
(spider: Spider)

Source from the content-addressed store, hash-verified

258 logger.error("Unable to find spider for: %(url)s", {"url": url})
259
260 async def start(spider: Spider) -> AsyncIterator[Any]:
261 yield self.prepare_request(spider, Request(url), opts)
262
263 if self.spidercls:
264 self.spidercls.start = start # type: ignore[assignment,method-assign]

Callers 1

start_parsingMethod · 0.45

Calls 2

prepare_requestMethod · 0.95
RequestClass · 0.90

Tested by

no test coverage detected