mirror of
https://github.com/vega-org/vega-providers.git
synced 2026-04-17 23:51:44 +00:00
fix showbox
This commit is contained in:
@@ -56,8 +56,8 @@ async function posts({
|
||||
const data = res.data;
|
||||
const $ = cheerio.load(data);
|
||||
const catalog: Post[] = [];
|
||||
$(".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