(self, url: str, opts: argparse.Namespace)
| 264 | self.spidercls.start = start # type: ignore[assignment,method-assign] |
| 265 | |
| 266 | def start_parsing(self, url: str, opts: argparse.Namespace) -> None: |
| 267 | assert self.crawler_process |
| 268 | assert self.spidercls |
| 269 | self.crawler_process.crawl(self.spidercls, **opts.spargs) |
| 270 | self.pcrawler = next(iter(self.crawler_process.crawlers)) |
| 271 | self.crawler_process.start() |
| 272 | |
| 273 | if not self.first_response: |
| 274 | logger.error("No response downloaded for: %(url)s", {"url": url}) |
| 275 | |
| 276 | def scraped_data( |
| 277 | self, |