You can override this function in order to make any changes you want to into the feed before parsing it. This function must return a response.
(self, response: Response)
| 47 | return results |
| 48 | |
| 49 | def adapt_response(self, response: Response) -> Response: |
| 50 | """You can override this function in order to make any changes you want |
| 51 | to into the feed before parsing it. This function must return a |
| 52 | response. |
| 53 | """ |
| 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""" |