(self, *a: Any, **kw: Any)
| 100 | _follow_links: bool |
| 101 | |
| 102 | def __init__(self, *a: Any, **kw: Any): |
| 103 | super().__init__(*a, **kw) |
| 104 | self._compile_rules() |
| 105 | if method_is_overridden(self.__class__, CrawlSpider, "_parse_response"): |
| 106 | warnings.warn( |
| 107 | "The CrawlSpider._parse_response method, which the " |
| 108 | f"{global_object_name(self.__class__)} class overrides, is " |
| 109 | "deprecated: it will be removed in future Scrapy releases. " |
| 110 | "Please override the CrawlSpider.parse_with_rules method " |
| 111 | "instead.", |
| 112 | stacklevel=2, |
| 113 | ) |
| 114 | |
| 115 | def _parse(self, response: Response, **kwargs: Any) -> Any: |
| 116 | return self.parse_with_rules( |
nothing calls this directly
no test coverage detected