1
0
Fork 0
mirror of https://github.com/Jackett/Jackett synced 2024-12-29 11:17:22 +00:00

newpct: remove deleted torrents. resolves #7074 (#7135)

This commit is contained in:
Diego Heras 2020-02-08 02:49:33 +01:00 committed by GitHub
parent 48a9765c48
commit 77a2264164
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;
}