From 4b31aa9024e1e4a97c706c5f9ab465e78a7d7207 Mon Sep 17 00:00:00 2001 From: TheBeastLT Date: Sun, 3 May 2020 23:07:20 +0200 Subject: [PATCH] [scraper] excludes nyaa pantsu from seeders update for now --- scraper/lib/repository.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scraper/lib/repository.js b/scraper/lib/repository.js index f643a49..51a01f6 100644 --- a/scraper/lib/repository.js +++ b/scraper/lib/repository.js @@ -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'],