[scraper] updates seeders repository condition

This commit is contained in:
TheBeastLT
2020-10-19 21:28:24 +02:00
parent 225bdc7503
commit 10e35c1393

View File

@@ -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'],