mirror of
https://github.com/vega-org/vega-providers.git
synced 2026-04-17 23:51:44 +00:00
fix: update episode and post retrieval URLs for primeMirror
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user