Skip to main content

_CurlImpersonateResponse

crawlee.http_clients.curl_impersonate._CurlImpersonateResponse

Adapter class for curl_cffi.requests.Response to conform to the HttpResponse protocol.

Index

Constructors

Methods

Properties

Constructors

__init__

  • __init__(response): None
  • Parameters

    • response: Response

    Returns None

Methods

read

  • read(): bytes
  • Returns bytes

Properties

headers

headers: HttpHeaders

http_version

http_version: str

status_code

status_code: int