(context: ParselCrawlingContext)
| 24 | |
| 25 | @crawler.router.default_handler |
| 26 | async def request_handler(context: ParselCrawlingContext) -> None: |
| 27 | links = context.selector.css('a::attr(href)').getall() |
| 28 | await handler(links) |
| 29 | |
| 30 | await crawler.run([str(server_url / 'start_enqueue')]) |
| 31 |
nothing calls this directly
no test coverage detected