[scraper] check existing torrent for 1337x once infohash is defined
This commit is contained in:
@@ -60,8 +60,8 @@ async function processTorrentRecord(record) {
|
|||||||
console.warn(`Incorrect upload date for [${torrentFound.infoHash}] ${torrentFound.name}`);
|
console.warn(`Incorrect upload date for [${torrentFound.infoHash}] ${torrentFound.name}`);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (await getStoredTorrentEntry(record)) {
|
if (await getStoredTorrentEntry(torrentFound)) {
|
||||||
return updateTorrentSeeders(record);
|
return updateTorrentSeeders(torrentFound);
|
||||||
}
|
}
|
||||||
|
|
||||||
const torrent = {
|
const torrent = {
|
||||||
|
|||||||
Reference in New Issue
Block a user