[scraper] excludes nyaa pantsu from seeders update for now
This commit is contained in:
@@ -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'],
|
||||
|
||||
Reference in New Issue
Block a user