mirror of
https://github.com/knightcrawler-stremio/knightcrawler.git
synced 2024-12-20 03:29:51 +00:00
[scraper] updates stream info mapping
This commit is contained in:
@@ -16,7 +16,7 @@ async function applyMoch(streams, apiKey) {
|
||||
const cachedEntry = available[stream.infoHash];
|
||||
const cachedIds = getCachedFileIds(stream.fileIdx, cachedEntry).join(',');
|
||||
if (cachedIds.length) {
|
||||
stream.name = `[RD Cached]\n${stream.name}`;
|
||||
stream.name = `[RD+] ${stream.name}`;
|
||||
stream.url = `${RESOLVER_HOST}/realdebrid/${apiKey}/${stream.infoHash}/${cachedIds}/${stream.fileIdx}`;
|
||||
delete stream.infoHash;
|
||||
delete stream.fileIndex;
|
||||
|
||||
Reference in New Issue
Block a user