This commit is contained in:
Inside4ndroid
2024-07-25 23:41:22 +01:00
parent 354d7161d9
commit d0a7406490
+2 -2
View File
@@ -110,7 +110,7 @@ async function episode(data_id) {
export async function getmovie(id) { export async function getmovie(id) {
let resp = await (await fetch(`https://vproxy-nine.vercel.app/proxy/https://vidsrc.to/embed/movie/${id}`)).text(); let resp = await (await fetch(`https://vidsrc.to/embed/movie/${id}`)).text();
// Validate the response content // Validate the response content
console.log(resp); console.log(resp);
@@ -126,7 +126,7 @@ export async function getmovie(id) {
} }
export async function getserie(id, s, e) { export async function getserie(id, s, e) {
let resp = await (await fetch(`https://vproxy-nine.vercel.app/proxy/https://vidsrc.to/embed/tv/${id}/${s}/${e}`)).text(); let resp = await (await fetch(`proxy/https://vidsrc.to/embed/tv/${id}/${s}/${e}`)).text();
let data_id = (/data-id="(.*?)"/g).exec(resp)[1]; let data_id = (/data-id="(.*?)"/g).exec(resp)[1];
return episode(data_id); return episode(data_id);
} }