From cdb221a2cd646d9d21195825396e629ae558e17b Mon Sep 17 00:00:00 2001 From: TheBeastLT Date: Wed, 2 Dec 2020 10:44:54 +0100 Subject: [PATCH] [scraper] disable nyaasi seeders update request --- scraper/scrapers/nyaasi/nyaa_si_scraper.js | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/scraper/scrapers/nyaasi/nyaa_si_scraper.js b/scraper/scrapers/nyaasi/nyaa_si_scraper.js index 8ea19f3..d16c90f 100644 --- a/scraper/scrapers/nyaasi/nyaa_si_scraper.js +++ b/scraper/scrapers/nyaasi/nyaa_si_scraper.js @@ -29,13 +29,9 @@ async function scrape() { } async function updateSeeders(torrent) { - return limiter.schedule(() => nyaasi.torrent(torrent.torrentId)) - .then(foundTorrent => { - if (Number.isInteger(foundTorrent.seeders)) { - return [foundTorrent]; - } - return [] - }); + // return limiter.schedule(() => nyaasi.torrent(torrent.torrentId)) + // .then(foundTorrent => Number.isInteger(foundTorrent.seeders) ? [foundTorrent] : []); + return Promise.resolve([]); } async function scrapeLatestTorrents() {