mirror of
https://github.com/knightcrawler-stremio/knightcrawler.git
synced 2024-12-20 03:29:51 +00:00
[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}`);
|
||||
return;
|
||||
}
|
||||
if (await getStoredTorrentEntry(record)) {
|
||||
return updateTorrentSeeders(record);
|
||||
if (await getStoredTorrentEntry(torrentFound)) {
|
||||
return updateTorrentSeeders(torrentFound);
|
||||
}
|
||||
|
||||
const torrent = {
|
||||
|
||||
Reference in New Issue
Block a user