Skip to main content

crawlee

Index

Classes

Abstract classes

Data structures

Errors

Functions

Functions

get_configuration

get_configuration_if_set

  • Get the configuration object, or None if it hasn't been set yet.


    Returns Configuration | None

get_event_manager

get_storage_client

  • Get the storage client instance for the current environment.


    Parameters

    • optionalkeyword-onlyclient_type: StorageClientType | None = None

      Allows retrieving a specific storage client type, regardless of where we are running.

    Returns BaseStorageClient

set_cloud_storage_client

  • set_cloud_storage_client(*, cloud_client): None
  • Set the cloud storage client instance.


    Parameters

    • optionalkeyword-onlycloud_client: BaseStorageClient

      The cloud storage client instance.

    Returns None

set_configuration

  • set_configuration(*, configuration): None
  • Set the configuration object.


    Parameters

    Returns None

set_default_storage_client_type

  • set_default_storage_client_type(*, client_type): None
  • Set the default storage client type.


    Parameters

    Returns None

set_event_manager

  • set_event_manager(*, event_manager): None
  • Set the event manager.


    Parameters

    Returns None

set_local_storage_client

  • set_local_storage_client(*, local_client): None
  • Set the local storage client instance.


    Parameters

    • optionalkeyword-onlylocal_client: BaseStorageClient

      The local storage client instance.

    Returns None