mirror of
https://github.com/TheBeastLT/torrentio-scraper.git
synced 2026-03-11 21:26:53 +00:00
[scraper] check existing torrent for 1337x once infohash is defined
This commit is contained in:
parent
b5c58c92f0
commit
1efaa0451c
1 changed files with 2 additions and 2 deletions
|
|
@ -60,8 +60,8 @@ async function processTorrentRecord(record) {
|
|||
console.warn(`Incorrect upload date for [${torrentFound.infoHash}] ${torrentFound.name}`);
|
||||
return;
|
||||
}
|
||||
if (await getStoredTorrentEntry(record)) {
|
||||
return updateTorrentSeeders(record);
|
||||
if (await getStoredTorrentEntry(torrentFound)) {
|
||||
return updateTorrentSeeders(torrentFound);
|
||||
}
|
||||
|
||||
const torrent = {
|
||||
|
|
|
|||
Loading…
Reference in a new issue