MCPcopy
hub / github.com/scrapy/scrapy / parse_node

Method parse_node

scrapy/spiders/feed.py:56–60  ·  view source on GitHub ↗

This method must be overridden with your custom spider functionality

(self, response: Response, selector: Selector)

Source from the content-addressed store, hash-verified

54 return response
55
56 def parse_node(self, response: Response, selector: Selector) -> Any:
57 """This method must be overridden with your custom spider functionality"""
58 if hasattr(self, "parse_item"): # backward compatibility
59 return self.parse_item(response, selector)
60 raise NotImplementedError
61
62 def parse_nodes(self, response: Response, nodes: Iterable[Selector]) -> Any:
63 """This method is called for the nodes matching the provided tag name

Callers 1

parse_nodesMethod · 0.95

Calls 1

parse_itemMethod · 0.45

Tested by

no test coverage detected