mirror of
https://github.com/Jackett/Jackett
synced 2024-12-25 01:07:38 +00:00
MyAnonamouse: improve re-login detection
This commit is contained in:
parent
aa3e9c6fde
commit
28bbeec462
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue