Skip to main content

ExportToKwargs

crawlee.storages._dataset.ExportToKwargs

Keyword arguments for dataset's export_to method.

Args: key: The key under which to save the data. content_type: The format in which to export the data. Either 'json' or 'csv'. to_key_value_store_id: ID of the key-value store to save the exported file. to_key_value_store_name: Name of the key-value store to save the exported file.

Index

Properties

content_type

content_type: NotRequired[Literal['json', 'csv']]

key

key: Required[str]

to_key_value_store_id

to_key_value_store_id: NotRequired[str]

to_key_value_store_name

to_key_value_store_name: NotRequired[str]