Skip to main content

RequestList

Extends crawlee RequestList.

Method open is used to create RequestList from actor's requestListSources input.

Index

Methods

Methods

open

  • async open(*, name, request_list_sources_input, http_client): RequestList
  • Creates RequestList from Actor input requestListSources.


    Parameters

    • optionalkeyword-onlyname: str | None = None

      Name of the returned RequestList.

    • optionalkeyword-onlyrequest_list_sources_input: list[dict[str, Any]] | None = None

      List of dicts with either url key or requestsFromUrl key.

    • optionalkeyword-onlyhttp_client: BaseHttpClient | None = None

      Client that will be used to send get request to urls defined by value of requestsFromUrl keys.

    Returns RequestList

Page Options