mirror of
https://github.com/vega-org/vega-providers.git
synced 2026-04-17 15:41:45 +00:00
fix: update base URL in getPosts function and disable specific providers in manifest.json
This commit is contained in:
2
dist/luxMovies/posts.js
vendored
2
dist/luxMovies/posts.js
vendored
File diff suppressed because one or more lines are too long
@@ -253,7 +253,7 @@
|
||||
"version": "1.1",
|
||||
"icon": "",
|
||||
"type": "english",
|
||||
"disabled": false
|
||||
"disabled": true
|
||||
},
|
||||
{
|
||||
"display_name": "Animetsu",
|
||||
@@ -261,7 +261,7 @@
|
||||
"version": "1.1",
|
||||
"icon": "",
|
||||
"type": "english",
|
||||
"disabled": false
|
||||
"disabled": true
|
||||
},
|
||||
{
|
||||
"display_name": "TokyoInsider",
|
||||
@@ -290,7 +290,7 @@
|
||||
{
|
||||
"display_name": "RogMovies",
|
||||
"value": "luxMovies",
|
||||
"version": "2.1",
|
||||
"version": "2.2",
|
||||
"icon": "",
|
||||
"type": "india",
|
||||
"disabled": false
|
||||
|
||||
@@ -35,7 +35,7 @@ export const getPosts = async ({
|
||||
providerContext: ProviderContext;
|
||||
}): Promise<Post[]> => {
|
||||
const { getBaseUrl, axios, cheerio } = providerContext;
|
||||
const baseUrl = await getBaseUrl("Vega");
|
||||
const baseUrl = await getBaseUrl("lux");
|
||||
|
||||
console.log("vegaGetPosts baseUrl:", providerValue, baseUrl);
|
||||
const url = `${baseUrl}/${filter}/page/${page}/`;
|
||||
@@ -139,6 +139,7 @@ async function posts(
|
||||
$(element).find("a").find("img").attr("data-lazy-src") ||
|
||||
$(element).find("a").find("img").attr("data-src") ||
|
||||
$(element).find("a").find("img").attr("src") ||
|
||||
$(element).find("img").attr("data-src") ||
|
||||
$(element).find("img").attr("src") ||
|
||||
"",
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user