immortalseed: update relogin check

This commit is contained in:
Bogdan
2024-11-24 11:49:54 +02:00
committed by GitHub
parent 23d5545072
commit be590002a7

View File

@@ -203,7 +203,7 @@ namespace Jackett.Common.Indexers.Definitions
var results = await RequestWithCookiesAndRetryAsync(searchUrl); var results = await RequestWithCookiesAndRetryAsync(searchUrl);
// Occasionally the cookies become invalid, login again if that happens // 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); await ApplyConfiguration(null);
results = await RequestWithCookiesAndRetryAsync(searchUrl); results = await RequestWithCookiesAndRetryAsync(searchUrl);