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

Function infinite_scroll_endpoint

tests/unit/server.py:442–447  ·  view source on GitHub ↗

Handle requests for the infinite scroll page.

(_scope: dict[str, Any], _receive: Receive, send: Send)

Source from the content-addressed store, hash-verified

440
441
442async def infinite_scroll_endpoint(_scope: dict[str, Any], _receive: Receive, send: Send) -> None:
443 """Handle requests for the infinite scroll page."""
444 await send_html_response(
445 send,
446 INFINITE_SCROLL,
447 )
448
449
450async def resource_loading_endpoint(_scope: dict[str, Any], _receive: Receive, send: Send) -> None:

Callers

nothing calls this directly

Calls 1

send_html_responseFunction · 0.85

Tested by

no test coverage detected