mirror of
https://github.com/TheBeastLT/torrentio-scraper.git
synced 2026-04-21 11:01:55 +00:00
[scraper] fixes horriblesubs spread operator object
This commit is contained in:
parent
95505885f6
commit
a8e76cd46e
1 changed files with 1 additions and 1 deletions
|
|
@ -204,7 +204,7 @@ async function checkIfExists(torrent) {
|
||||||
} else if (existingTorrent.provider === NAME) {
|
} else if (existingTorrent.provider === NAME) {
|
||||||
return undefined; // torrent by this provider already exists
|
return undefined; // torrent by this provider already exists
|
||||||
}
|
}
|
||||||
return { ...torrent.get(), size: existingTorrent.size, seeders: existingTorrent.seeders };
|
return { ...torrent, size: existingTorrent.size, seeders: existingTorrent.seeders };
|
||||||
}
|
}
|
||||||
|
|
||||||
module.exports = { scrape, NAME };
|
module.exports = { scrape, NAME };
|
||||||
Loading…
Reference in a new issue