[scraper] fixes 1337x overwrite behaviour

This commit is contained in:
TheBeastLT
2020-10-02 23:06:36 +02:00
parent 9bbd7ba4b4
commit ad7ce57c36

View File

@@ -70,6 +70,10 @@ async function processTorrentRecord(record) {
return;
}
if (await checkAndUpdateTorrent(torrentFound)) {
return torrentFound;
}
const torrent = {
infoHash: torrentFound.infoHash,
provider: NAME,