CleanTitle: remove brackets

This commit is contained in:
kaso17 2016-12-30 17:12:32 +01:00
parent 069c64f504
commit 657bb15282
1 changed files with 1 additions and 1 deletions

View File

@ -79,7 +79,7 @@ namespace Jackett.Utils
private static string CleanTitle(string title) 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(); return reduceSpacesRegex.Replace(title, " ").ToLowerInvariant();
} }
} }