MCPcopy Create free account
hub / github.com/apify/crawlee-python / handler

Function handler

tests/unit/crawlers/_basic/test_basic_crawler.py:54–55  ·  view source on GitHub ↗
(context: BasicCrawlingContext)

Source from the content-addressed store, hash-verified

52
53 @crawler.router.default_handler
54 async def handler(context: BasicCrawlingContext) -> None:
55 calls.append(context.request.url)
56
57 await crawler.run()
58

Callers

nothing calls this directly

Calls 14

SessionErrorClass · 0.90
use_stateMethod · 0.80
retireMethod · 0.80
from_urlMethod · 0.80
get_event_managerMethod · 0.80
addMethod · 0.45
send_requestMethod · 0.45
readMethod · 0.45
push_dataMethod · 0.45
get_key_value_storeMethod · 0.45
set_valueMethod · 0.45

Tested by

no test coverage detected