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

Function handler

tests/unit/crawlers/_http/test_http_crawler.py:186–188  ·  view source on GitHub ↗
(context: HttpCrawlingContext)

Source from the content-addressed store, hash-verified

184
185 @crawler.router.default_handler
186 async def handler(context: HttpCrawlingContext) -> None:
187 visit(context.request.url)
188 track_session_usage(context.session.id if context.session else None)
189
190 await crawler.run(
191 [

Callers

nothing calls this directly

Calls 3

get_cookies_as_dictsMethod · 0.80
retireMethod · 0.80
readMethod · 0.45

Tested by

no test coverage detected