mirror of
https://github.com/Jackett/Jackett
synced 2024-12-26 09:48:37 +00:00
TorrentLeech: fix error message
This commit is contained in:
parent
535f71c18c
commit
48cdc3bb5e
1 changed files with 1 additions and 1 deletions
|
@ -164,7 +164,7 @@ namespace Jackett.Common.Indexers
|
|||
await ConfigureIfOK(result.Cookies, result.Content != null && result.Content.Contains("/user/account/logout"), () =>
|
||||
{
|
||||
CQ dom = result.Content;
|
||||
var errorMessage = dom["div#login_heading + div.card-panel-error"].Text();
|
||||
var errorMessage = dom["p.text-danger:contains(\"Error:\")"].Text().Trim();
|
||||
throw new ExceptionWithConfigData(errorMessage, configData);
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue