fix: update episode and post retrieval URLs for primeMirror

This commit is contained in:
himanshu8443
2025-07-09 16:26:25 +05:30
parent ef16ae1334
commit 8a5d63d6dc
4 changed files with 4 additions and 10 deletions

View File

@@ -17,9 +17,7 @@ const getEpisodes = function (_a) {
let providerValue = "netflixMirror";
try {
const baseUrl = yield getBaseUrl("nfMirror");
const url = `${baseUrl}${providerValue === "netflixMirror"
? "/episodes.php?s="
: "/pv/episodes.php?s="}` +
const url = `${baseUrl}${"/pv/episodes.php?s="}` +
link +
"&t=" +
Math.round(new Date().getTime() / 1000);

View File

@@ -82,7 +82,7 @@ const getSearchPosts = function (_a) {
const id = result === null || result === void 0 ? void 0 : result.id;
const image = providerValue === "netflixMirror"
? `https://imgcdn.media/poster/v/${id}.jpg`
: "";
: `https://imgcdn.media/pv/341/${id}.jpg`;
if (id) {
catalog.push({
title: title,

View File

@@ -12,11 +12,7 @@ export const getEpisodes = async function ({
try {
const baseUrl = await getBaseUrl("nfMirror");
const url =
`${baseUrl}${
providerValue === "netflixMirror"
? "/episodes.php?s="
: "/pv/episodes.php?s="
}` +
`${baseUrl}${"/pv/episodes.php?s="}` +
link +
"&t=" +
Math.round(new Date().getTime() / 1000);

View File

@@ -107,7 +107,7 @@ export const getSearchPosts = async function ({
const image =
providerValue === "netflixMirror"
? `https://imgcdn.media/poster/v/${id}.jpg`
: "";
: `https://imgcdn.media/pv/341/${id}.jpg`;
if (id) {
catalog.push({