MCPcopy
hub / github.com/scrapy/scrapy / _errback

Method _errback

scrapy/spiders/crawl.py:163–167  ·  view source on GitHub ↗
(self, failure: Failure)

Source from the content-addressed store, hash-verified

161 )
162
163 def _errback(self, failure: Failure) -> Iterable[Any]:
164 rule = self._rules[cast("int", failure.request.meta["rule"])] # type: ignore[attr-defined]
165 return self._handle_failure(
166 failure, cast("Callable[[Failure], Any]", rule.errback)
167 )
168
169 async def parse_with_rules(
170 self,

Callers

nothing calls this directly

Calls 1

_handle_failureMethod · 0.95

Tested by

no test coverage detected