PiXELHD: fix error detection

This commit is contained in:
kaso17 2018-01-05 18:56:54 +01:00
parent 5ef4e2f0dd
commit e92b87e4dd
1 changed files with 1 additions and 1 deletions

View File

@ -105,7 +105,7 @@ namespace Jackett.Indexers
{
var LoginParser = new HtmlParser();
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);
});