1
0
Fork 0
mirror of https://github.com/Jackett/Jackett synced 2025-03-09 13:52:03 +00:00

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

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