mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-04-24 22:07:32 -04:00
New: (RuTracker) Search by Categories
This commit is contained in:
parent
827741db17
commit
327fd08059
1 changed files with 5 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue