fix showbox

This commit is contained in:
himanshu8443
2025-06-23 21:13:22 +05:30
parent f9906e1964
commit dcf40b6f74
6 changed files with 14 additions and 45 deletions

View File

@@ -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) {