mirror of https://github.com/Jackett/Jackett
GFTracker: avoid unnecessary re-logins
This commit is contained in:
parent
7226626b71
commit
5f0eb9a170
|
@ -138,6 +138,7 @@ namespace Jackett.Indexers
|
|||
|
||||
var response = await RequestLoginAndFollowRedirect(LoginUrl, pairs, configData.CookieHeader.Value, true, SearchUrl, StartPageUrl);
|
||||
UpdateCookieHeader(response.Cookies);
|
||||
UpdateCookieHeader("mybbuser=;"); // add dummy cookie, otherwise we get logged out after each request
|
||||
|
||||
await ConfigureIfOK(configData.CookieHeader.Value, response.Content != null && response.Content.Contains("logout.php"), () =>
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue