diff --git a/mapple/mapple.js b/mapple/mapple.js index d14ae49..70bf78c 100644 --- a/mapple/mapple.js +++ b/mapple/mapple.js @@ -234,11 +234,8 @@ async function extractNextActionIdentifier(watchUrl) { throw new Error("error 4"); } -async function extractStreamUrl(ID) { - const htmlResponse = await soraFetch("https://mapple.uk/watch/" + ID); - const htmlText = await htmlResponse.text(); - - const actionIdentifier = await extractNextActionIdentifier("https://mapple.uk/watch/" + ID); +async function extractStreamUrl(ID) { + const actionIdentifier = await extractNextActionIdentifier("https://mapple.uk/watch/movie/1061474-superman"); console.log("Action Identifier: " + actionIdentifier);