mirror of
https://github.com/Jackett/Jackett
synced 2025-03-10 22:23:20 +00:00
This commit is contained in:
parent
258f7fba1f
commit
f00aedb542
1 changed files with 2 additions and 10 deletions
|
@ -72,16 +72,8 @@ namespace Jackett.Common.Indexers
|
|||
AddCategoryMapping(30, TorznabCatType.Other, "Misc");
|
||||
}
|
||||
|
||||
protected override string GetSearchTerm(TorznabQuery query)
|
||||
{
|
||||
// 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 string GetSearchTerm(TorznabQuery query) => query.GetQueryString().Replace(".", " ");
|
||||
|
||||
protected override async Task<IEnumerable<ReleaseInfo>> PerformQuery(TorznabQuery query)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue