Skip to content

Latest commit

 

History

History
103 lines (73 loc) · 2.74 KB

storage.rst

File metadata and controls

103 lines (73 loc) · 2.74 KB

Storage

The class of storage is the one implementing MutableMapping interface. There are some storage classes provided with this middleware:

InMemoryStorage

.. module:: scrapy_cookies.storage.in_memory
   :synopsis: In Memory Storage

This storage enables keeping cookies inside the memory, to provide ultra fast read and write cookies performance.

SQLiteStorage

.. module:: scrapy_cookies.storage.sqlite
   :synopsis: SQLite Storage

This storage enables keeping cookies in SQLite, which supports already by Python.

The following settings can be used to configure this storage:

MongoStorage

.. module:: scrapy_cookies.storage.mongo
   :synopsis: Mongo Storage

This storage enables keeping cookies in MongoDB.

The following settings can be used to configure this storage:

RedisStorage

.. module:: scrapy_cookies.storage.redis
   :synopsis: Redis Storage

This storage enables keeping cookies in Redis.

The following settings can be used to configure this storage: