Merge branch 'movie-web:dev' into primewire

This commit is contained in:
zisra
2024-03-28 22:45:32 -05:00
committed by GitHub

View File

@@ -19,7 +19,7 @@ export const fileMoonScraper = makeEmbed({
referer: ctx.url,
},
});
const evalCode = evalCodeRegex.exec(embedRes);
const evalCode = embedRes.match(evalCodeRegex);
if (!evalCode) throw new Error('Failed to find eval code');
const unpacked = unpack(evalCode[1]);
const file = fileRegex.exec(unpacked);