Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding support of shared cookies for requests having the same crawlid #209

Open
wants to merge 5 commits into
base: dev
Choose a base branch
from

Conversation

MohamedMb
Copy link

@MohamedMb MohamedMb commented Nov 22, 2018

Adding a custom download middleware distributed_cookies.DistributedCookiesMiddleware that uses 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).

…okiesMiddleware that use Redis to set and get the serialized cookie.
@coveralls
Copy link

Coverage Status

Coverage decreased (-1.7%) to 69.212% when pulling 6560231 on MohamedMb:dev into 55b784d on istresearch:dev.

1 similar comment
@coveralls
Copy link

Coverage Status

Coverage decreased (-1.7%) to 69.212% when pulling 6560231 on MohamedMb:dev into 55b784d on istresearch:dev.

@coveralls
Copy link

coveralls commented Nov 22, 2018

Coverage Status

Coverage decreased (-0.2%) to 70.804% when pulling e42fb8f on MohamedMb:dev into 55b784d on istresearch:dev.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants