Update animekai/dub/animekai.js

This commit is contained in:
aka paul
2026-01-29 14:46:35 +00:00
parent 25456bb152
commit 2baadb69de
+1 -1
View File
@@ -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;