1
0
Fork 0
mirror of https://github.com/Jackett/Jackett synced 2024-12-22 07:43:13 +00:00

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
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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);