Update animekai/dub/animekai.js
This commit is contained in:
@@ -241,7 +241,7 @@ async function extractStreamUrl(url) {
|
|||||||
"agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/137.0.0.0 Safari/537.36"
|
"agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/137.0.0.0 Safari/537.36"
|
||||||
}
|
}
|
||||||
|
|
||||||
const finalResponse = await fetchv2("https://enc-dec.app/api/dec-mega", {}, "POST", 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();
|
const finalJson = await finalResponse.json();
|
||||||
const m3u8Link = finalJson?.result?.sources?.[0]?.file;
|
const m3u8Link = finalJson?.result?.sources?.[0]?.file;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user