[scraper] disable nyaasi seeders update request

This commit is contained in:
TheBeastLT
2020-12-02 10:44:54 +01:00
parent 63a0c39a00
commit cdb221a2cd

View File

@@ -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() {