diff --git a/src/Jackett.Common/Indexers/Newpct.cs b/src/Jackett.Common/Indexers/Newpct.cs index 024fd62de..9e35076fc 100644 --- a/src/Jackett.Common/Indexers/Newpct.cs +++ b/src/Jackett.Common/Indexers/Newpct.cs @@ -92,7 +92,10 @@ namespace Jackett.Common.Indexers private Regex _titleClassicTvQualityRegex = new Regex(@"\[([^\]]*HDTV[^\]]*)", RegexOptions.IgnoreCase); private DownloadMatcher[] _downloadMatchers = new DownloadMatcher[] { - new DownloadMatcher() { MatchRegex = new Regex("([^\"]*/descargar-torrent/[^\"]*)") }, + new DownloadMatcher() + { + MatchRegex = new Regex("(/descargar-torrent/[^\"]+)\"") + }, new DownloadMatcher() { MatchRegex = new Regex(@"nalt\s*=\s*'([^\/]*)"), @@ -394,6 +397,9 @@ namespace Jackett.Common.Indexers } } + // remove duplicates + newpctReleases = newpctReleases.GroupBy(x => x.Guid).Select(y => y.First()).ToList(); + //Filter only episodes needed return newpctReleases.Where(r => {