1
0
forked from 50n50/sources

Update mapple/mapple.js

This commit is contained in:
aka paul
2025-11-27 20:13:24 +00:00
parent 6e8a009d77
commit 975b68270e
+1 -1
View File
@@ -199,7 +199,7 @@ async function extractNextActionIdentifier(watchUrl) {
throw new Error("error 1"); throw new Error("error 1");
} }
const beforeLayoutMatch = htmlText.match(/<script[^>]*src="([^"]*\.js)"[^>]*><\/script><script[^>]*src="[^"]*app\/watch\/movie\/[^"]*layout-[^"]*\.js"/); const beforeLayoutMatch = htmlText.match(/<script[^>]*src="([^"]*\.js)"[^>]*><\/script><script[^>]*src="[^"]*app\/watch\/(movie|tv)\/[^"]*layout-[^"]*\.js"/);
if (!beforeLayoutMatch || !beforeLayoutMatch[1]) { if (!beforeLayoutMatch || !beforeLayoutMatch[1]) {
throw new Error("error 2"); throw new Error("error 2");