MCPcopy
hub / github.com/scrapy/scrapy / _parse

Method _parse

scrapy/spiders/feed.py:155–161  ·  view source on GitHub ↗
(self, response: Response, **kwargs: Any)

Source from the content-addressed store, hash-verified

153 yield from self.process_results(response, ret)
154
155 def _parse(self, response: Response, **kwargs: Any) -> Any:
156 if not hasattr(self, "parse_row"):
157 raise NotConfigured(
158 "You must define parse_row method in order to scrape this CSV feed"
159 )
160 response = self.adapt_response(response)
161 return self.parse_rows(response)

Callers

nothing calls this directly

Calls 3

adapt_responseMethod · 0.95
parse_rowsMethod · 0.95
NotConfiguredClass · 0.90

Tested by

no test coverage detected