(context: BasicCrawlingContext)
| 925 | |
| 926 | @crawler.router.handler('three') |
| 927 | async def handler_three(context: BasicCrawlingContext) -> None: |
| 928 | state = await context.use_state({'hello': 'world'}) |
| 929 | state_in_handler_three.update(state) |
| 930 | |
| 931 | await crawler.run([Request.from_url('https://crawlee.dev/', label='one')]) |
| 932 | await crawler.run([Request.from_url('https://crawlee.dev/docs/examples', label='three')]) |