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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

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