From ad7ce57c36df21398749048c257a075109041765 Mon Sep 17 00:00:00 2001 From: TheBeastLT Date: Fri, 2 Oct 2020 23:06:36 +0200 Subject: [PATCH] [scraper] fixes 1337x overwrite behaviour --- scraper/scrapers/1337x/1337x_scraper.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scraper/scrapers/1337x/1337x_scraper.js b/scraper/scrapers/1337x/1337x_scraper.js index 2c9d8b9..47e3b6c 100644 --- a/scraper/scrapers/1337x/1337x_scraper.js +++ b/scraper/scrapers/1337x/1337x_scraper.js @@ -70,6 +70,10 @@ async function processTorrentRecord(record) { return; } + if (await checkAndUpdateTorrent(torrentFound)) { + return torrentFound; + } + const torrent = { infoHash: torrentFound.infoHash, provider: NAME,