mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
Cardigann: fix form login
This commit is contained in:
@@ -477,6 +477,8 @@ namespace Jackett.Indexers
|
|||||||
}
|
}
|
||||||
|
|
||||||
// selector inputs
|
// selector inputs
|
||||||
|
if (Login.Selectorinputs != null)
|
||||||
|
{
|
||||||
foreach (var Selectorinput in Login.Selectorinputs)
|
foreach (var Selectorinput in Login.Selectorinputs)
|
||||||
{
|
{
|
||||||
string value = null;
|
string value = null;
|
||||||
@@ -490,6 +492,7 @@ namespace Jackett.Indexers
|
|||||||
throw new Exception(string.Format("Error while parsing selector input={0}, selector={1}, value={2}: {3}", Selectorinput.Key, Selectorinput.Value.Selector, value, ex.Message));
|
throw new Exception(string.Format("Error while parsing selector input={0}, selector={1}, value={2}: {3}", Selectorinput.Key, Selectorinput.Value.Selector, value, ex.Message));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// automatically solve simpleCaptchas, if used
|
// automatically solve simpleCaptchas, if used
|
||||||
var simpleCaptchaPresent = landingResultDocument.QuerySelector("script[src*=\"simpleCaptcha\"]");
|
var simpleCaptchaPresent = landingResultDocument.QuerySelector("script[src*=\"simpleCaptcha\"]");
|
||||||
|
Reference in New Issue
Block a user