mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
@@ -192,7 +192,8 @@ namespace Jackett.Common.Indexers.Abstract
|
|||||||
foreach (var cat in MapTorznabCapsToTrackers(query))
|
foreach (var cat in MapTorznabCapsToTrackers(query))
|
||||||
queryCollection.Add("filter_cat[" + cat + "]", "1");
|
queryCollection.Add("filter_cat[" + cat + "]", "1");
|
||||||
|
|
||||||
searchUrl += "?" + queryCollection.GetQueryString();
|
// remove . as not used in titles
|
||||||
|
searchUrl += "?" + queryCollection.GetQueryString().Replace(".", " ");
|
||||||
|
|
||||||
var apiKey = configData.ApiKey;
|
var apiKey = configData.ApiKey;
|
||||||
var headers = apiKey != null ? new Dictionary<string, string> { ["Authorization"] = String.Format(AuthorizationFormat, apiKey.Value) } : null;
|
var headers = apiKey != null ? new Dictionary<string, string> { ["Authorization"] = String.Format(AuthorizationFormat, apiKey.Value) } : null;
|
||||||
|
@@ -72,9 +72,6 @@ namespace Jackett.Common.Indexers
|
|||||||
AddCategoryMapping(30, TorznabCatType.Other, "Misc");
|
AddCategoryMapping(30, TorznabCatType.Other, "Misc");
|
||||||
}
|
}
|
||||||
|
|
||||||
// Alpharatio can't handle dots in the searchstr
|
|
||||||
protected override string GetSearchTerm(TorznabQuery query) => query.GetQueryString().Replace(".", " ");
|
|
||||||
|
|
||||||
protected override async Task<IEnumerable<ReleaseInfo>> PerformQuery(TorznabQuery query)
|
protected override async Task<IEnumerable<ReleaseInfo>> PerformQuery(TorznabQuery query)
|
||||||
{
|
{
|
||||||
var releases = await base.PerformQuery(query);
|
var releases = await base.PerformQuery(query);
|
||||||
|
Reference in New Issue
Block a user