From 657bb15282d1ee4f876b225ce847397646546c3b Mon Sep 17 00:00:00 2001 From: kaso17 Date: Fri, 30 Dec 2016 17:12:32 +0100 Subject: [PATCH] CleanTitle: remove brackets --- src/Jackett/Utils/TorznabCapsUtil.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Jackett/Utils/TorznabCapsUtil.cs b/src/Jackett/Utils/TorznabCapsUtil.cs index bbc760ddf..adba7b2e9 100644 --- a/src/Jackett/Utils/TorznabCapsUtil.cs +++ b/src/Jackett/Utils/TorznabCapsUtil.cs @@ -79,7 +79,7 @@ namespace Jackett.Utils private static string CleanTitle(string title) { - title = title.Replace(':', ' ').Replace('.', ' ').Replace('-', ' ').Replace('_', ' ').Replace('+', ' ').Replace("'", ""); + title = title.Replace(':', ' ').Replace('.', ' ').Replace('-', ' ').Replace('_', ' ').Replace('+', ' ').Replace("'", "").Replace("[", "").Replace("]", "").Replace("(", "").Replace(")", ""); return reduceSpacesRegex.Replace(title, " ").ToLowerInvariant(); } }