Skip to main content

BaseStorage

crawlee.storages.base_storage.BaseStorage

Base class for storages.

Index

Methods

Properties

Methods

drop

  • async drop(): None
  • Drop the storage. Remove it from underlying storage and delete from cache.


    Returns None

open

  • async open(*, id, name, configuration): BaseStorage
  • Open a storage, either restore existing or create a new one.


    Parameters

    • id: str | None = Nonekeyword-only
    • name: str | None = Nonekeyword-only
    • configuration: Configuration | None = Nonekeyword-only

    Returns BaseStorage

Properties

id

id: str

Get the storage ID.

LABEL

LABEL:

Human readable label of the storage.

name

name: str | None

Get the storage name.