mirror of
https://github.com/knightcrawler-stremio/knightcrawler.git
synced 2024-12-20 03:29:51 +00:00
fix torrent9 null inforhash error
This commit is contained in:
@@ -103,7 +103,7 @@ function parseTorrentPage(body) {
|
||||
const languages = parse(name).languages;
|
||||
const torrent = {
|
||||
title: name.trim(),
|
||||
infoHash: decode(magnetLink).infoHash,
|
||||
infoHash: magnetLink ? decode(magnetLink).infoHash : undefined,
|
||||
magnetLink: magnetLink,
|
||||
torrentLink: torrentLink ? `${baseUrl}${torrentLink}` : undefined,
|
||||
seeders: parseInt(details.find('.movie-information ul:nth-of-type(1) li:nth-of-type(3)').text(), 10),
|
||||
|
||||
Reference in New Issue
Block a user