From be590002a737f6020d8cdea30865c72bc233bf9d Mon Sep 17 00:00:00 2001 From: Bogdan Date: Sun, 24 Nov 2024 11:49:54 +0200 Subject: [PATCH] immortalseed: update relogin check --- src/Jackett.Common/Indexers/Definitions/ImmortalSeed.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Jackett.Common/Indexers/Definitions/ImmortalSeed.cs b/src/Jackett.Common/Indexers/Definitions/ImmortalSeed.cs index 17156b1b7..cac868235 100644 --- a/src/Jackett.Common/Indexers/Definitions/ImmortalSeed.cs +++ b/src/Jackett.Common/Indexers/Definitions/ImmortalSeed.cs @@ -203,7 +203,7 @@ namespace Jackett.Common.Indexers.Definitions var results = await RequestWithCookiesAndRetryAsync(searchUrl); // Occasionally the cookies become invalid, login again if that happens - if (results.ContentString.Contains("You do not have permission to access this page.")) + if (!results.ContentString.Contains("logout.php")) { await ApplyConfiguration(null); results = await RequestWithCookiesAndRetryAsync(searchUrl);