Skip to main content

_HttpxTransport

crawlee.http_clients._httpx._HttpxTransport

HTTP transport adapter that stores response cookies in a Session.

This transport adapter modifies the handling of HTTP requests to update the session cookies based on the response cookies, ensuring that the cookies are stored in the session object rather than the HTTPX client itself.

Index

Methods

handle_async_request

  • async handle_async_request(request): httpx.Response
  • Parameters

    • request: httpx.Request

    Returns httpx.Response