mirror of
https://github.com/p-stream/providers.git
synced 2026-04-21 17:32:19 +00:00
Fix filemoon
This commit is contained in:
parent
acb9531cfe
commit
9edaea0125
1 changed files with 1 additions and 1 deletions
|
|
@ -19,7 +19,7 @@ export const fileMoonScraper = makeEmbed({
|
||||||
referer: ctx.url,
|
referer: ctx.url,
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
const evalCode = evalCodeRegex.exec(embedRes);
|
const evalCode = embedRes.match(evalCodeRegex);
|
||||||
if (!evalCode) throw new Error('Failed to find eval code');
|
if (!evalCode) throw new Error('Failed to find eval code');
|
||||||
const unpacked = unpack(evalCode[1]);
|
const unpacked = unpack(evalCode[1]);
|
||||||
const file = fileRegex.exec(unpacked);
|
const file = fileRegex.exec(unpacked);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue