mirror of
https://github.com/sussy-code/providers.git
synced 2026-04-20 16:12:25 +00:00
Merge pull request #93 from movie-web/fix/closeload
Fix closeload scraper
This commit is contained in:
commit
5078c176ec
1 changed files with 1 additions and 1 deletions
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Reference in a new issue