From 77a2264164f499a11c6e354f15d4dd108e407c1c Mon Sep 17 00:00:00 2001 From: Diego Heras Date: Sat, 8 Feb 2020 02:49:33 +0100 Subject: [PATCH] newpct: remove deleted torrents. resolves #7074 (#7135) --- src/Jackett.Common/Indexers/Newpct.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Jackett.Common/Indexers/Newpct.cs b/src/Jackett.Common/Indexers/Newpct.cs index 9e35076fc..9a8fc4879 100644 --- a/src/Jackett.Common/Indexers/Newpct.cs +++ b/src/Jackett.Common/Indexers/Newpct.cs @@ -337,6 +337,10 @@ namespace Jackett.Common.Indexers } } + // Database lost on 2018/04/05, all previous torrents don't have download links + var failureDay = new DateTime(2018, 04, 05); + releases = releases.Where(r => r.PublishDate > failureDay).ToList(); + return releases; }