MCPcopy
hub / github.com/scrapy/scrapy / _process_spidermw_output

Method _process_spidermw_output

scrapy/core/scraper.py:440–448  ·  view source on GitHub ↗

Process each Request/Item (given in the output parameter) returned from the given spider. Items are sent to the item pipelines, requests are scheduled.

(
        self, output: Any, response: Response | Failure
    )

Source from the content-addressed store, hash-verified

438 )
439
440 def _process_spidermw_output(
441 self, output: Any, response: Response | Failure
442 ) -> Deferred[None]:
443 """Process each Request/Item (given in the output parameter) returned
444 from the given spider.
445
446 Items are sent to the item pipelines, requests are scheduled.
447 """
448 return deferred_from_coro(self._process_spidermw_output_async(output, response))
449
450 async def _process_spidermw_output_async(
451 self, output: Any, response: Response | Failure

Callers

nothing calls this directly

Calls 2

deferred_from_coroFunction · 0.90

Tested by

no test coverage detected