forked from 50n50/sources
Update mapple/mapple.js
This commit is contained in:
+2
-5
@@ -234,11 +234,8 @@ async function extractNextActionIdentifier(watchUrl) {
|
|||||||
throw new Error("error 4");
|
throw new Error("error 4");
|
||||||
}
|
}
|
||||||
|
|
||||||
async function extractStreamUrl(ID) {
|
async function extractStreamUrl(ID) {
|
||||||
const htmlResponse = await soraFetch("https://mapple.uk/watch/" + ID);
|
const actionIdentifier = await extractNextActionIdentifier("https://mapple.uk/watch/movie/1061474-superman");
|
||||||
const htmlText = await htmlResponse.text();
|
|
||||||
|
|
||||||
const actionIdentifier = await extractNextActionIdentifier("https://mapple.uk/watch/" + ID);
|
|
||||||
|
|
||||||
console.log("Action Identifier: " + actionIdentifier);
|
console.log("Action Identifier: " + actionIdentifier);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user