Demonoid: Fix login (#648)

This commit is contained in:
kaso17 2016-11-05 20:05:45 +01:00 committed by GitHub
parent f3f8c2aea5
commit 2198aebf73
1 changed files with 2 additions and 2 deletions

View File

@ -55,8 +55,8 @@ namespace Jackett.Indexers
{ "Submit", "Submit" }
};
var result = await RequestLoginAndFollowRedirect(LoginUrl, pairs, null, true, null, SiteLink);
await ConfigureIfOK(result.Cookies, result.Content != null && result.Content.Contains("user_control_panel.php"), () =>
var result = await RequestLoginAndFollowRedirect(LoginUrl, pairs, null, true, SiteLink, SiteLink);
await ConfigureIfOK(result.Cookies, result.Content != null && result.Cookies.Contains("uid="), () =>
{
CQ dom = result.Content;
string errorMessage = dom["form[id='bb_code_form']"].Parent().Find("font[class='red']").Text();