mirror of
https://github.com/Radarr/Radarr
synced 2025-02-27 00:23:19 +00:00
strip some additional special characters when searching trakt
This commit is contained in:
parent
0d14a2df9e
commit
acee943d47
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ public class TraktProxy : ISearchForNewSeries, IProvideSeriesInfo
|
||||||
{
|
{
|
||||||
private readonly Logger _logger;
|
private readonly Logger _logger;
|
||||||
private static readonly Regex CollapseSpaceRegex = new Regex(@"\s+", RegexOptions.Compiled);
|
private static readonly Regex CollapseSpaceRegex = new Regex(@"\s+", RegexOptions.Compiled);
|
||||||
private static readonly Regex InvalidSearchCharRegex = new Regex(@"(?:\*)", RegexOptions.Compiled);
|
private static readonly Regex InvalidSearchCharRegex = new Regex(@"(?:\*|\(|\)|'|!)", RegexOptions.Compiled);
|
||||||
|
|
||||||
public TraktProxy(Logger logger)
|
public TraktProxy(Logger logger)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue