From 10e35c1393ae711e7b93cc8b8519856bbc19b619 Mon Sep 17 00:00:00 2001 From: TheBeastLT Date: Mon, 19 Oct 2020 21:28:24 +0200 Subject: [PATCH] [scraper] updates seeders repository condition --- 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 44159e9..b6daa63 100644 --- a/scraper/lib/repository.js +++ b/scraper/lib/repository.js @@ -186,7 +186,7 @@ function getTorrentsWithoutSize() { function getUpdateSeedersTorrents() { const until = moment().subtract(7, 'days').format('YYYY-MM-DD'); return Torrent.findAll({ - where: literal(`torrent."updatedAt" < \'${until}\' and torrent."provider" not in (\'NyaaPantsu\')`), + where: literal(`torrent."updatedAt" < \'${until}\' and torrent."provider" not in (\'NyaaSi\')`), limit: 100, order: [ ['seeders', 'DESC'],