[scraper] adds anime specific trackers

This commit is contained in:
TheBeastLT
2020-12-02 19:30:23 +01:00
parent 5b82ac33be
commit 519799b634
2 changed files with 12 additions and 4 deletions

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 (\'NyaaSi\')`),
where: literal(`torrent."updatedAt" < \'${until}\'`),
limit: 100,
order: [
['seeders', 'DESC'],