mirror of https://github.com/Jackett/Jackett
PiXELHD: fix error detection
This commit is contained in:
parent
5ef4e2f0dd
commit
e92b87e4dd
|
@ -105,7 +105,7 @@ namespace Jackett.Indexers
|
||||||
{
|
{
|
||||||
var LoginParser = new HtmlParser();
|
var LoginParser = new HtmlParser();
|
||||||
var LoginDocument = LoginParser.Parse(result.Content);
|
var LoginDocument = LoginParser.Parse(result.Content);
|
||||||
var errorMessage = LoginDocument.QuerySelector("span.warning:has(br)").TextContent;
|
var errorMessage = LoginDocument.QuerySelector("span.warning[id!=\"no-cookies\"]:has(br)").TextContent;
|
||||||
throw new ExceptionWithConfigData(errorMessage, configData);
|
throw new ExceptionWithConfigData(errorMessage, configData);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue