wolfmax4k: fix search multiple words (#15311)

This commit is contained in:
jojojox2
2024-05-14 23:54:31 +02:00
committed by GitHub
parent 757dd8dab1
commit 677cc0511a

View File

@@ -213,7 +213,7 @@ namespace Jackett.Common.Indexers
// replace punctuation symbols with spaces
// searchTerm = Marco Polo 2014
searchTerm = Regex.Replace(searchTerm, @"[-._\(\)@/\\\[\]\+\%]", " ");
searchTerm = Regex.Replace(searchTerm, @"\s+", " ");
searchTerm = Regex.Replace(searchTerm, @"\s+", "+");
searchTerm = searchTerm.Trim();
// we parse the year and remove it from search