mirror of https://github.com/Jackett/Jackett
CleanTitle: remove brackets
This commit is contained in:
parent
069c64f504
commit
657bb15282
|
@ -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();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue