Update hexa/hexa.js

This commit is contained in:
aka paul
2025-12-28 12:56:27 +00:00
parent b8f7930684
commit 62135e381b
+2 -2
View File
@@ -237,7 +237,7 @@ async function extractStreamUrl(ID) {
"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.3",
"X-Api-Key": "24ef089ebcab51d107a4e4709e87861ef609bace89ac23af13235f6ea743488f"
};
const response = await fetchv2(`https://post-eosin.vercel.app/api/proxy?url=${encodeURIComponent(`https://themoviedb.hexa.watch/api/tmdb/tv/${tmdbID}/season/${seasonNumber}/episode/${episodeNumber}/images`)}&simple=true`, headersOne);
const response = await fetchv2(`https://themoviedb.hexa.su/api/tmdb/tv/${tmdbID}/season/${seasonNumber}/episode/${episodeNumber}/images`, headersOne);
const data = await response.text();
const headers = {
@@ -272,7 +272,7 @@ async function extractStreamUrl(ID) {
return JSON.stringify({
streams,
subtitles: null
subtitles: englishSubtitle
});
}
}