Adding a custom download middleware distributed_cookies.DistributedCookiesMiddleware that use Redis to set and get the serialized cookie.
Adding a custom spider middleware distributed_cookies.ClearCookiesMiddleware that delete cookie if an item with the same crawlid is yield.
It's also possible to set a cookie with automatic expiration (time in ms in settings).
Adding a custom download middleware distributed_cookies.DistributedCookiesMiddleware that use Redis to set and get the serialized cookie. Adding a custom spider middleware distributed_cookies.ClearCookiesMiddleware that delete cookie if an item with the same crawlid is yield. It's also possible to set a cookie with automatic expiration (time in ms in settings).