[Newpct] fix No results error (#6567) resolves #6551

This commit is contained in:
snamds
2019-12-10 00:25:25 +01:00
committed by garfield69
parent 9c3f1134b9
commit 453165e081

View File

@@ -631,7 +631,14 @@ namespace Jackett.Common.Indexers
else
uri = uris.Current;
try
{
results = await PostDataWithCookies(uri.AbsoluteUri, queryCollection);
}
catch
{
results = null;
}
if (results != null && !string.IsNullOrEmpty(results.Content))
{
@@ -721,7 +728,7 @@ namespace Jackett.Common.Indexers
}
catch (Exception ex)
{
OnParseError(content, ex);
return null;
}
if (!someFound)
@@ -786,7 +793,7 @@ namespace Jackett.Common.Indexers
}
catch (Exception ex)
{
OnParseError(content, ex);
return null;
}
if (!someFound)