rutracker: add search by categories. resolves #12397 (#12398)

This commit is contained in:
ilike2burnthing 2021-10-12 13:21:39 +01:00 committed by GitHub
parent 88ab9db461
commit 9df84d76e7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -1470,6 +1470,9 @@ namespace Jackett.Common.Indexers
queryCollection.Add("nm", searchString);
}
if (query.HasSpecifiedCategories)
queryCollection.Add("f", string.Join(",", MapTorznabCapsToTrackers(query)));
var searchUrl = SearchUrl + "?" + queryCollection.GetQueryString();
return searchUrl;
}