MCPcopy
hub / github.com/scrapy/scrapy / run_callback

Method run_callback

scrapy/commands/parse.py:219–228  ·  view source on GitHub ↗
(
        self,
        response: Response,
        callback: CallbackT,
        cb_kwargs: dict[str, Any] | None = None,
    )

Source from the content-addressed store, hash-verified

217 return items, requests, opts, depth, spider, callback
218
219 def run_callback(
220 self,
221 response: Response,
222 callback: CallbackT,
223 cb_kwargs: dict[str, Any] | None = None,
224 ) -> Deferred[Any]:
225 cb_kwargs = cb_kwargs or {}
226 return maybeDeferred(
227 self.iterate_spider_output, callback(response, **cb_kwargs)
228 )
229
230 def get_callback_from_rules(
231 self, spider: Spider, response: Response

Callers 1

callbackMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected