mirror of
https://git.luna-app.eu/50n50/sources
synced 2025-12-22 05:36:32 +01:00
Update mapple/mapple.js
This commit is contained in:
parent
6e8a009d77
commit
975b68270e
1 changed files with 2 additions and 2 deletions
|
|
@ -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");
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue