forked from 50n50/sources
Update animekai/hardsub/animekai.js
This commit is contained in:
@@ -244,7 +244,7 @@ async function extractStreamUrl(url) {
|
||||
|
||||
console.log(postData);
|
||||
|
||||
const finalResponse = await fetchv2("https://enc-dec.app/api/dec-mega", {}, "POST", JSON.stringify(postData));
|
||||
const finalResponse = await fetchv2("https://enc-dec.app/api/dec-mega", { "Content-Type": "application/json" }, "POST", JSON.stringify(postData));
|
||||
const finalJson = await finalResponse.json();
|
||||
console.log(finalJson);
|
||||
const m3u8Link = finalJson?.result?.sources?.[0]?.file;
|
||||
|
||||
Reference in New Issue
Block a user