mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
Fixed Freshon Login
This commit is contained in:
@@ -53,8 +53,7 @@ namespace Jackett.Indexers
|
|||||||
|
|
||||||
// Get inital cookies
|
// Get inital cookies
|
||||||
cookieHeader = string.Empty;
|
cookieHeader = string.Empty;
|
||||||
var loginPage = await RequestStringWithCookies(LoginUrl, string.Empty);
|
var response = await RequestLoginAndFollowRedirect(LoginPostUrl, pairs, cookieHeader, true, null, LoginUrl);
|
||||||
var response = await RequestLoginAndFollowRedirect(LoginUrl, pairs, loginPage.Cookies, true, null, LoginUrl);
|
|
||||||
|
|
||||||
await ConfigureIfOK(response.Cookies, response.Content != null && response.Content.Contains("/logout.php"), () =>
|
await ConfigureIfOK(response.Cookies, response.Content != null && response.Content.Contains("/logout.php"), () =>
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user