mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
@@ -164,11 +164,11 @@ namespace Jackett.Common.Indexers
|
||||
queryCollection.Add("mode", "list");
|
||||
}
|
||||
|
||||
var cats = string.Join(";", MapTorznabCapsToTrackers(query));
|
||||
if (!string.IsNullOrEmpty(cats))
|
||||
{
|
||||
queryCollection.Add("category", cats);
|
||||
}
|
||||
var querycats = MapTorznabCapsToTrackers(query);
|
||||
if (querycats.Count == 0)
|
||||
querycats = GetAllTrackerCategories(); // default to all, without specifing it some categories are missing (e.g. games), see #4146
|
||||
var cats = string.Join(";", querycats);
|
||||
queryCollection.Add("category", cats);
|
||||
|
||||
var searchUrl = ApiEndpoint + "?" + queryCollection.GetQueryString();
|
||||
var response = await RequestStringWithCookiesAndRetry(searchUrl, string.Empty);
|
||||
|
Reference in New Issue
Block a user