[scraper] excludes nyaa pantsu from seeders update for now

This commit is contained in:
TheBeastLT
2020-05-03 23:07:20 +02:00
parent 129a9ed29d
commit 4b31aa9024

View File

@@ -182,7 +182,7 @@ function getTorrentsWithoutSize() {
function getUpdateSeedersTorrents() {
const until = moment().subtract(7, 'days').format('YYYY-MM-DD');
return Torrent.findAll({
where: literal(`torrent."updatedAt" < \'${until}\'`),
where: literal(`torrent."updatedAt" < \'${until}\' and torrent."provider" != \'NyaaPantsu\'`),
limit: 100,
order: [
['seeders', 'DESC'],