[scraper] updates includes api extracted languages

This commit is contained in:
TheBeastLT
2020-04-13 22:46:17 +02:00
parent 9444b7551e
commit 6bfba11692
4 changed files with 9 additions and 7 deletions

View File

@@ -73,11 +73,12 @@ async function processTorrentRecord(record) {
provider: NAME,
torrentId: torrentFound.torrentId,
title: torrentFound.name.replace(/\t|\s+/g, ' '),
size: torrentFound.size,
type: TYPE_MAPPING[torrentFound.category],
imdbId: torrentFound.imdbId,
uploadDate: torrentFound.uploadDate,
size: torrentFound.size,
seeders: torrentFound.seeders,
uploadDate: torrentFound.uploadDate,
imdbId: torrentFound.imdbId,
languages: torrentFound.languages || undefined
};
return createTorrentEntry(torrent).then(() => torrent);