mirror of https://github.com/Jackett/Jackett
xthor: fixed enhanced anime search string for api (#11834)
This commit is contained in:
parent
b626e6dbaa
commit
7d0267fe61
|
@ -309,9 +309,6 @@ namespace Jackett.Common.Indexers
|
|||
{
|
||||
var releases = new List<ReleaseInfo>();
|
||||
var searchTerm = query.SanitizedSearchTerm + " " + query.GetEpisodeSearchString();
|
||||
searchTerm = searchTerm.Trim();
|
||||
searchTerm = searchTerm.ToLower();
|
||||
searchTerm = searchTerm.Replace(" ", ".");
|
||||
|
||||
if (EnhancedAnimeSearch && query.HasSpecifiedCategories && (query.Categories.Contains(TorznabCatType.TVAnime.ID) || query.Categories.Contains(100032) || query.Categories.Contains(100101) || query.Categories.Contains(100110)))
|
||||
{
|
||||
|
@ -319,6 +316,10 @@ namespace Jackett.Common.Indexers
|
|||
searchTerm = regex.Replace(searchTerm, " E$1");
|
||||
}
|
||||
|
||||
searchTerm = searchTerm.Trim();
|
||||
searchTerm = searchTerm.ToLower();
|
||||
searchTerm = searchTerm.Replace(" ", ".");
|
||||
|
||||
// Multiple page support
|
||||
var nextPage = 1;
|
||||
var followingPages = true;
|
||||
|
|
Loading…
Reference in New Issue