1
0
Fork 0
mirror of https://github.com/Jackett/Jackett synced 2024-12-25 09:20:37 +00:00

MyAnonamouse: improve re-login detection

This commit is contained in:
kaso17 2018-06-24 18:38:49 +02:00
parent aa3e9c6fde
commit 28bbeec462

View file

@ -180,7 +180,7 @@ namespace Jackett.Common.Indexers
}
var response = await RequestStringWithCookiesAndRetry(urlSearch);
if (response.Status == System.Net.HttpStatusCode.Forbidden)
if (response.Status == System.Net.HttpStatusCode.Forbidden || CookieHeader.Contains("pass=deleted"))
{
// re-login
await ApplyConfiguration(null);