mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
IPTorrents: add no torrents found check
This commit is contained in:
@@ -248,6 +248,10 @@ namespace Jackett.Common.Indexers
|
|||||||
var response = await RequestStringWithCookiesAndRetry(searchUrl, null, BrowseUrl);
|
var response = await RequestStringWithCookiesAndRetry(searchUrl, null, BrowseUrl);
|
||||||
|
|
||||||
var results = response.Content;
|
var results = response.Content;
|
||||||
|
|
||||||
|
if (query.IsTest && results.Contains("No Torrents Found!"))
|
||||||
|
throw new Exception("Got No Torrents Found! Make sure your IPTorrents profile config contain proper default category settings.");
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
CQ dom = results;
|
CQ dom = results;
|
||||||
|
Reference in New Issue
Block a user