[scraper] disable rarbg scraper for now

This commit is contained in:
TheBeastLT
2020-05-13 21:07:08 +02:00
parent 1a7a965562
commit d9203a88cc
2 changed files with 2 additions and 2 deletions

View File

@@ -189,7 +189,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" != \'NyaaPantsu\'`),
where: literal(`torrent."updatedAt" < \'${until}\' and torrent."provider" not in (\'NyaaPantsu\', \'RARBG\')`),
limit: 100,
order: [
['seeders', 'DESC'],