update JS

This commit is contained in:
chuqiuyu
2023-08-03 09:09:20 +08:00
parent b17f285b8c
commit 0ae2828f31
11 changed files with 169 additions and 80 deletions

View File

@@ -31,7 +31,8 @@ var rule = {
d.push({
title: pdfh(it, 'h2&&Text'),
desc: pdfh(it, '.me-auto&&Text') + '分 / ' + pdfh(it, '.small&&Text'),
pic_url: pd(it, '.card-img&&style'),
// pic_url: pd(it, '.card-img&&style'), // 只有 影视TV&爱佬版 有图片
pic_url: /!'/.test(pd(it, '.card-img&&style'))?pd(it, '.card-img&&style'):pd(it, '.card-img&&style').replaceAll("'",""), // 兼容 影视TV&爱佬版 以外的其它壳子
url: pd(it, 'a&&href')
});
})
@@ -50,7 +51,8 @@ var rule = {
d.push({
title: pdfh(it, 'h2&&Text'),
desc: pdfh(it, '.me-auto&&Text') + '分 / ' + pdfh(it, '.small&&Text'),
pic_url: pdfh(it, '.card-img&&style'),
// pic_url: pdfh(it, '.card-img&&style'), // 只有 影视TV&爱佬版 有图片
pic_url: /!'/.test(pd(it, '.card-img&&style'))?pd(it, '.card-img&&style'):pd(it, '.card-img&&style').replaceAll("'",""), // 兼容 影视TV&爱佬版 以外的其它壳子
url: pd(it, 'a&&href')
});
})