MCPcopy
hub / github.com/scrapy/scrapy / _parse_response

Method _parse_response

scrapy/spiders/crawl.py:190–203  ·  view source on GitHub ↗
(
        self,
        response: Response,
        callback: CallbackT | None,
        cb_kwargs: dict[str, Any],
        follow: bool = True,
    )

Source from the content-addressed store, hash-verified

188 yield request_or_item
189
190 def _parse_response(
191 self,
192 response: Response,
193 callback: CallbackT | None,
194 cb_kwargs: dict[str, Any],
195 follow: bool = True,
196 ) -> AsyncIterator[Any]:
197 warnings.warn(
198 "The CrawlSpider._parse_response method is deprecated: "
199 "it will be removed in future Scrapy releases. "
200 "Please use the CrawlSpider.parse_with_rules method instead.",
201 stacklevel=2,
202 )
203 return self.parse_with_rules(response, callback, cb_kwargs, follow)
204
205 def _handle_failure(
206 self, failure: Failure, errback: Callable[[Failure], Any] | None

Callers

nothing calls this directly

Calls 1

parse_with_rulesMethod · 0.95

Tested by

no test coverage detected