mirror of
https://github.com/vega-org/vega-providers.git
synced 2026-04-17 15:41:45 +00:00
fix: update base URL for NetflixMirror and PrimeMirror to a static link
This commit is contained in:
2
dist/netflixMirror/stream.js
vendored
2
dist/netflixMirror/stream.js
vendored
@@ -14,7 +14,7 @@ const getStream = (_a) => __awaiter(void 0, [_a], void 0, function* ({ link: id,
|
||||
const { getBaseUrl } = providerContext;
|
||||
try {
|
||||
let providerValue = "netflixMirror";
|
||||
const baseUrl = yield getBaseUrl("nfMirror");
|
||||
const baseUrl = "https://netfree2.cc";
|
||||
const url = `https://netmirror.zendax.tech/api/net-proxy?url=${baseUrl}${providerValue === "netflixMirror"
|
||||
? "/mobile/playlist.php?id="
|
||||
: "/pv/playlist.php?id="}${id}&t=${Math.round(new Date().getTime() / 1000)}`;
|
||||
|
||||
2
dist/primeMirror/stream.js
vendored
2
dist/primeMirror/stream.js
vendored
@@ -14,7 +14,7 @@ const getStream = (_a) => __awaiter(void 0, [_a], void 0, function* ({ link: id,
|
||||
const { getBaseUrl } = providerContext;
|
||||
try {
|
||||
let providerValue = "primeMirror";
|
||||
const baseUrl = yield getBaseUrl("nfMirror");
|
||||
const baseUrl = "https://netfree2.cc";
|
||||
const url = `https://netmirror.zendax.tech/api/net-proxy?url=${baseUrl}${providerValue === "netflixMirror"
|
||||
? "/mobile/playlist.php?id="
|
||||
: "/pv/playlist.php?id="}${id}&t=${Math.round(new Date().getTime() / 1000)}`;
|
||||
|
||||
@@ -10,7 +10,7 @@ export const getStream = async ({
|
||||
const { getBaseUrl } = providerContext;
|
||||
try {
|
||||
let providerValue = "netflixMirror";
|
||||
const baseUrl = await getBaseUrl("nfMirror");
|
||||
const baseUrl = "https://netfree2.cc";
|
||||
const url = `https://netmirror.zendax.tech/api/net-proxy?url=${baseUrl}${
|
||||
providerValue === "netflixMirror"
|
||||
? "/mobile/playlist.php?id="
|
||||
|
||||
@@ -10,7 +10,7 @@ export const getStream = async ({
|
||||
const { getBaseUrl } = providerContext;
|
||||
try {
|
||||
let providerValue = "primeMirror";
|
||||
const baseUrl = await getBaseUrl("nfMirror");
|
||||
const baseUrl = "https://netfree2.cc";
|
||||
const url = `https://netmirror.zendax.tech/api/net-proxy?url=${baseUrl}${
|
||||
providerValue === "netflixMirror"
|
||||
? "/mobile/playlist.php?id="
|
||||
|
||||
Reference in New Issue
Block a user