feat: update movie categories in catalog and add Hollywood-Movies

fix: remove episodesLink from meta data in getMeta function
fix: add unlocked cookie header in extractKmhdLink function
fix: remove episodesLink from linkList in kmMovies meta
fix: add base page worker links in topmovies stream
fix: refactor instant link handling in topmovies stream
This commit is contained in:
Himanshu
2025-12-09 11:50:40 +05:30
parent 1ed05508ab
commit 1446a9f584
10 changed files with 84 additions and 35 deletions

View File

@@ -5,7 +5,11 @@ async function extractKmhdLink(
providerContext: ProviderContext
) {
const { axios } = providerContext;
const res = await axios.get(katlink);
const res = await axios.get(katlink, {
headers: {
Cookie: "unlocked=true",
},
});
const data = res.data;
const hubDriveRes = data.match(/hubdrive_res:\s*"([^"]+)"/)[1];
const hubDriveLink = data.match(