mirror of
https://github.com/TheBeastLT/torrentio-scraper.git
synced 2026-04-20 18:22:03 +00:00
[scraper] update yts torrent id format
This commit is contained in:
parent
34879962ee
commit
00d3ee2fd5
1 changed files with 1 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue