TeamHG-Memex / autologin-middleware

Scrapy middleware for the autologin

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

More robust logout detection - check for redirect

lopuhin opened this issue · comments

There are sites that set a lot of cookies on login, and some of them are not really required and can be removed later, making the middleware think there was a logout.
One way to make logout detection more robust is to add a check that there was a redirect when the cookies were removed.