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

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