{"record":{"id":"689eddef51d891a2","repo":"Jackett/Jackett","slug":"got-no-torrents-found-make-sure-your-iptorrents-p","errorCode":null,"errorMessage":"Got No Torrents Found! Make sure your IPTorrents profile config contain proper default category settings.","messagePattern":"Got No Torrents Found! Make sure your IPTorrents profile config contain proper default category settings\\.","errorType":"exception","errorClass":"Exception","httpStatus":null,"severity":"error","filePath":"src/Jackett.Common/Indexers/Definitions/IPTorrents.cs","lineNumber":332,"sourceCode":"\n            if (query.Limit > 0 && query.Offset > 0)\n            {\n                var page = query.Offset / query.Limit + 1;\n                qc.Add(\"p\", page.ToString());\n            }\n\n            var searchUrl = SearchUrl + \"?\" + qc.GetQueryString();\n            var response = await RequestWithCookiesAndRetryAsync(searchUrl, referer: SearchUrl, headers: headers);\n            var results = response.ContentString;\n\n            if (results == null || !results.Contains(\"/lout.php\"))\n            {\n                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.\");\n            }\n\n            if (string.IsNullOrWhiteSpace(query.ImdbID) && string.IsNullOrWhiteSpace(query.SearchTerm) && results.Contains(\"No Torrents Found!\"))\n            {\n                throw new Exception(\"Got No Torrents Found! Make sure your IPTorrents profile config contain proper default category settings.\");\n            }\n\n            char[] delimiters = { ',', ' ', '/', ')', '(', '.', ';', '[', ']', '\"', '|', ':' };\n\n            try\n            {\n                var parser = new HtmlParser();\n                using var doc = parser.ParseDocument(results);\n\n                var headerColumns = doc.QuerySelectorAll(\"table[id=\\\"torrents\\\"] > thead > tr > th\").Select(x => x.TextContent.Trim()).ToList();\n                var sizeIndex = FindColumnIndexOrDefault(headerColumns, \"Sort by size\", 5);\n                var filesIndex = FindColumnIndexOrDefault(headerColumns, \"Sort by files\");\n\n                var rows = doc.QuerySelectorAll(\"table[id=\\\"torrents\\\"] > tbody > tr\");\n                foreach (var row in rows)\n                {\n                    var qTitleLink = row.QuerySelector(\"a.hv\");\n                    if (qTitleLink == null) // no results","sourceCodeStart":314,"sourceCodeEnd":350,"githubUrl":"https://github.com/Jackett/Jackett/blob/adff1941476d8057a430cf55360356c1d23e971e/src/Jackett.Common/Indexers/Definitions/IPTorrents.cs#L314-L350","documentation":"Thrown by IPTorrents.PerformQuery when no explicit search term or IMDb ID is provided and the page contains the literal text 'No Torrents Found!'. With no query filter, IPTorrents should always show the default browse list; seeing the empty-state message means the account's default category profile on the website is misconfigured (empty or invalid categories), so the browse page renders nothing.","triggerScenarios":"A manual/empty TorznabQuery hits IPTorrents, and the account's website-side 'default categories' setting is empty or references nonexistent categories, so the browse page shows 'No Torrents Found!' instead of torrents.","commonSituations":"The IPTorrents profile's default category list was cleared or never set; categories were renamed/removed by the site; the user's account class restricts certain categories and the default set only includes restricted ones.","solutions":["Log in to IPTorrents, go to Settings, and set at least one valid default category for the browse page.","Wait one minute for the site cache to refresh after changing category settings.","Re-test the indexer in Jackett with a specific search term to confirm results return.","If searching works but empty queries do not, the default category config is confirmed as the cause."],"exampleFix":null,"handlingStrategy":"validation","validationCode":null,"typeGuard":null,"tryCatchPattern":"try\n{\n    var releases = await indexer.PerformQuery(query);\n}\ncatch (Exception ex) when (ex.Message.Contains(\"No Torrents Found\"))\n{\n    // Only fires for empty/default queries — account's default categories are wrong\n    logger.Error(\"IPTorrents default category issue: {Message}\", ex.Message);\n    // Instruct user to fix website profile settings\n}","preventionTips":["On the IPTorrents website, set at least one valid default category in profile settings.","Use specific search terms in Jackett to avoid hitting the empty-default-query path.","Re-check default categories after IPTorrents site updates (they may reset).","Wait one minute after changing category settings for the cache to refresh."],"tags":["config","categories","iptorrents","website-settings"],"backgroundTag":null,"analyzedSha":"adff1941476d8057a430cf55360356c1d23e971e","analyzedAt":"2026-08-13T15:06:32.872Z","schemaVersion":2},"datasetVersion":"2026-08-13T19:17:28.613Z"}