Skip to main content

SendRequestFunction

crawlee.basic_crawler.types.SendRequestFunction

Type of a function for performing an HTTP request.

Index

Methods

Methods

__call__

  • __call__(url, *, method, headers): Coroutine[None, None, HttpResponse]
  • Parameters

    • url: str
    • method: str = 'get'keyword-only
    • headers: dict[str, str] | None = Nonekeyword-only

    Returns Coroutine[None, None, HttpResponse]