mirror of
https://github.com/Jackett/Jackett
synced 2024-12-29 11:17:22 +00:00
parent
f770596354
commit
cee7ceb1f6
1 changed files with 3 additions and 1 deletions
|
@ -240,9 +240,11 @@ namespace Jackett.Common.Indexers
|
|||
searchUrl += "?" + queryCollection.GetQueryString();
|
||||
|
||||
var response = await RequestStringWithCookiesAndRetry(searchUrl, null, BrowseUrl);
|
||||
|
||||
var results = response.Content;
|
||||
|
||||
if (results == null || !results.Contains("/lout.php"))
|
||||
throw new Exception("The user is not logged in. It is possible that the cookie has expired or you made a mistake when copying it. Please check the settings.");
|
||||
|
||||
if (string.IsNullOrWhiteSpace(query.ImdbID) && string.IsNullOrWhiteSpace(query.SearchTerm) && results.Contains("No Torrents Found!"))
|
||||
throw new Exception("Got No Torrents Found! Make sure your IPTorrents profile config contain proper default category settings.");
|
||||
|
||||
|
|
Loading…
Reference in a new issue