immortalseed: fix login detection. resolves #13884 (#13885)

This commit is contained in:
ilike2burnthing 2023-01-08 16:36:44 +00:00 committed by GitHub
parent 1685c0c8b9
commit ac5d6f5764
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -127,7 +127,7 @@ namespace Jackett.Common.Indexers
var response = await RequestLoginAndFollowRedirect(LoginUrl, pairs, null, true, null, LoginUrl);
await ConfigureIfOK(response.Cookies, response.ContentString.Contains("You have successfully logged in"), () =>
await ConfigureIfOK(response.Cookies, response.ContentString.Contains("logout.php"), () =>
{
var errorMessage = response.ContentString;
throw new ExceptionWithConfigData(errorMessage, configData);