forked from 50n50/sources
Update mapple/mapple.js
This commit is contained in:
+2
-2
@@ -199,8 +199,8 @@ async function extractNextActionIdentifier(watchUrl) {
|
||||
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]) {
|
||||
throw new Error("error 2");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user