fix: update movieBox endpoints and catalog filter

This commit is contained in:
Himanshu
2026-05-27 20:08:07 +05:30
parent 4be02caff7
commit 5459c15f96
9 changed files with 24 additions and 18 deletions
+2 -3
View File
@@ -9,10 +9,9 @@ export const getMeta = async function ({
}): Promise<Info> {
try {
const { axios, cheerio, getBaseUrl } = providerContext;
const baseUrl = await getBaseUrl("movieBox");
const links: Link[] = [];
// this is just a proxy please host your own if you want to use this code:- https://github.com/himanshu8443/Cf-Workers/blob/main/src/dob-worker/index.js
const response = await fetch("https://dob-worker.8man.workers.dev", {
const response = await fetch("https://dob-worker.1proxy.workers.dev", {
method: "POST",
headers: {
"Content-Type": "application/json",
@@ -38,7 +37,7 @@ export const getMeta = async function ({
dubs?.forEach((dub: any) => {
const link: Link = {
title: dub?.lanName,
episodesLink: `${baseUrl}/wefeed-mobile-bff/subject-api/resource?subjectId=${dub?.subjectId}&page=1&perPage=20&all=0&startPosition=1&endPosition=1&pagerMode=0&resolution=1080&se=1&epFrom=1&epTo=1`,
episodesLink: `/wefeed-mobile-bff/subject-api/resource?subjectId=${dub?.subjectId}&page=1&perPage=20&all=0&startPosition=1&endPosition=1&pagerMode=0&resolution=1080&se=1&epFrom=1&epTo=1`,
};
links.push(link);
});