mirror of
https://github.com/Jackett/Jackett
synced 2025-02-24 07:10:44 +00:00
IPTorrents: add no torrents found check
This commit is contained in:
parent
bcfccd83d4
commit
74e8518060
1 changed files with 4 additions and 0 deletions
|
@ -248,6 +248,10 @@ namespace Jackett.Common.Indexers
|
|||
var response = await RequestStringWithCookiesAndRetry(searchUrl, null, BrowseUrl);
|
||||
|
||||
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
|
||||
{
|
||||
CQ dom = results;
|
||||
|
|
Loading…
Reference in a new issue