forked from 50n50/sources
Update mapple/mapple.js
This commit is contained in:
+1
-1
@@ -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");
|
||||||
|
|||||||
Reference in New Issue
Block a user