From 00d3ee2fd528755353210b22c83c926437473a53 Mon Sep 17 00:00:00 2001 From: TheBeastLT Date: Thu, 11 Mar 2021 23:27:57 +0100 Subject: [PATCH] [scraper] update yts torrent id format --- scraper/scrapers/yts/yts_api.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scraper/scrapers/yts/yts_api.js b/scraper/scrapers/yts/yts_api.js index 0e71f61..cc32233 100644 --- a/scraper/scrapers/yts/yts_api.js +++ b/scraper/scrapers/yts/yts_api.js @@ -69,7 +69,7 @@ function parseResults(results) { function parseMovie(movie) { return movie.torrents.map(torrent => ({ name: `${movie.title} ${movie.year} ${torrent.quality} ${formatType(torrent.type)} `, - torrentId: movie.id, + torrentId: `${movie.id}-${torrent.hash.trim().toLowerCase()}`, infoHash: torrent.hash.trim().toLowerCase(), torrentLink: torrent.url, seeders: torrent.seeds,