mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
New: (RuTracker) Search by Categories
This commit is contained in:
@@ -1443,6 +1443,11 @@ namespace NzbDrone.Core.Indexers.Definitions
|
||||
queryCollection.Add("nm", searchString);
|
||||
}
|
||||
|
||||
if (categories.Length > 0)
|
||||
{
|
||||
queryCollection.Add("f", string.Join(",", Capabilities.Categories.MapTorznabCapsToTrackers(categories)));
|
||||
}
|
||||
|
||||
searchUrl = searchUrl + "?" + queryCollection.GetQueryString();
|
||||
|
||||
var request = new IndexerRequest(searchUrl, HttpAccept.Html);
|
||||
|
Reference in New Issue
Block a user