mirror of
https://github.com/knightcrawler-stremio/knightcrawler.git
synced 2024-12-20 03:29:51 +00:00
[scraper] get torrent size for horriblesubs
This commit is contained in:
@@ -62,8 +62,9 @@ async function updateTorrentSeeders(torrent) {
|
||||
return repository.getTorrent(torrent)
|
||||
.catch(() => undefined)
|
||||
.then(stored => {
|
||||
if (stored && stored.seeders !== torrent.seeders) {
|
||||
if (stored) {
|
||||
stored.seeders = torrent.seeders;
|
||||
stored.changed('updatedAt', true);
|
||||
return stored.save()
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user