This method must be overridden with your custom spider functionality
(self, response: Response, selector: Selector)
| 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 |