MCPcopy
hub / github.com/scrapy/scrapy / parse

Method parse

tests/test_spidermiddleware_output_chain.py:50–54  ·  view source on GitHub ↗
(self, response)

Source from the content-addressed store, hash-verified

48 yield Request(self.mockserver.url("/status?n=200"))
49
50 def parse(self, response):
51 yield {"test": 1}
52 self.logger.info("DONT_FAIL: %s", response.meta.get("dont_fail"))
53 if not response.meta.get("dont_fail"):
54 raise TabError
55
56
57class RecoveryAsyncGenSpider(RecoverySpider):

Callers 1

parseMethod · 0.45

Calls 2

infoMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected