mirror of
https://github.com/vega-org/vega-providers.git
synced 2026-04-17 15:41:45 +00:00
fix showbox
This commit is contained in:
4
dist/showbox/posts.js
vendored
4
dist/showbox/posts.js
vendored
@@ -41,8 +41,8 @@ function posts(_a) {
|
||||
const data = res.data;
|
||||
const $ = cheerio.load(data);
|
||||
const catalog = [];
|
||||
$(".movie-item").map((i, element) => {
|
||||
const title = $(element).find(".movie-title").text();
|
||||
$(".movie-item,.flw-item").map((i, element) => {
|
||||
const title = $(element).find(".film-name").text().trim();
|
||||
const link = $(element).find("a").attr("href");
|
||||
const image = $(element).find("img").attr("src");
|
||||
if (title && link && image) {
|
||||
|
||||
Reference in New Issue
Block a user