mirror of https://github.com/Jackett/Jackett
Cardigann: Fix relogin for method=form (#800)
This commit is contained in:
parent
64e537e77d
commit
82ae611c81
|
@ -384,6 +384,12 @@ namespace Jackett.Indexers
|
|||
if (FormSelector == null)
|
||||
FormSelector = "form";
|
||||
|
||||
// landingResultDocument might not be initiated if the login is caused by a relogin during a query
|
||||
if (landingResultDocument == null)
|
||||
{
|
||||
await GetConfigurationForSetup();
|
||||
}
|
||||
|
||||
var form = landingResultDocument.QuerySelector(FormSelector);
|
||||
if (form == null)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue