Skip to main content

FileSystemStorageClient

File system implementation of the storage client.

This storage client provides access to datasets, key-value stores, and request queues that persist data to the local file system. Each storage type is implemented with its own specific file system client that stores data in a structured directory hierarchy.

Data is stored in JSON format in predictable file paths, making it easy to inspect and manipulate the stored data outside of the Crawlee application if needed.

All data persists between program runs but is limited to access from the local machine where the files are stored.

Warning: This storage client is not safe for concurrent access from multiple crawler processes. Use it only when running a single crawler process at a time.

Hierarchy

Index

Methods

create_dataset_client

  • async create_dataset_client(*, id, name, configuration): DatasetClient

create_kvs_client

create_rq_client

get_rate_limit_errors

  • get_rate_limit_errors(): dict[int, int]