fix closeload scraper

This commit is contained in:
Jorrin 2024-02-13 18:34:29 +01:00
parent 805e520f82
commit 2c34396897
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ export const closeLoadScraper = makeEmbed({
const evalCode = iframeRes$('script')
.filter((_, el) => {
const script = iframeRes$(el);
return (script.attr('type') === 'text/javascript' && script.html()?.includes('eval')) ?? false;
return (script.attr('type') === 'text/javascript' && script.html()?.includes('p,a,c,k,e,d')) ?? false;
})
.html();
if (!evalCode) throw new Error("Couldn't find eval code");