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:
parent
23d5545072
commit
be590002a7
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue