mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
This commit is contained in:
@@ -72,16 +72,8 @@ namespace Jackett.Common.Indexers
|
|||||||
AddCategoryMapping(30, TorznabCatType.Other, "Misc");
|
AddCategoryMapping(30, TorznabCatType.Other, "Misc");
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override string GetSearchTerm(TorznabQuery query)
|
// Alpharatio can't handle dots in the searchstr
|
||||||
{
|
protected override string GetSearchTerm(TorznabQuery query) => query.GetQueryString().Replace(".", " ");
|
||||||
// Ignore season search without episode. Alpharatio doesn't support it.
|
|
||||||
var searchTerm = string.IsNullOrWhiteSpace(query.Episode)
|
|
||||||
? query.SanitizedSearchTerm
|
|
||||||
: query.GetQueryString();
|
|
||||||
|
|
||||||
// Alpharatio can't handle dots in the searchstr
|
|
||||||
return searchTerm.Replace(".", " ");
|
|
||||||
}
|
|
||||||
|
|
||||||
protected override async Task<IEnumerable<ReleaseInfo>> PerformQuery(TorznabQuery query)
|
protected override async Task<IEnumerable<ReleaseInfo>> PerformQuery(TorznabQuery query)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user