update CAT

This commit is contained in:
qist 2024-05-15 17:53:18 +08:00
parent 3287060883
commit 49e94cd995
3 changed files with 7 additions and 3 deletions

2
cat/dist/index.js vendored

File diff suppressed because one or more lines are too long

View File

@ -1 +1 @@
777afe145a0995648baa265ec72aad92
e43e31c341faadffaf32e9291de6f60a

View File

@ -94,7 +94,11 @@ class JianPianSpider extends Spider {
let vodDetail = new VodDetail();
vodDetail.vod_id = obj["id"]
vodDetail.vod_year = obj["year"]["title"]
if (!this.catOpenStatus) {
vodDetail.vod_pic = obj["thumbnail"] + "@Referer=www.jianpianapp.com@User-Agent=jianpian-version353@JPAUTH=y261ow7kF2dtzlxh1GS9EB8nbTxNmaK/QQIAjctlKiEv"
} else {
vodDetail.vod_pic = this.jsBase + Utils.base64Encode(obj["thumbnail"])
}
vodDetail.type_name = obj["category"][0]["title"]
vodDetail.vod_name = obj["title"]
vodDetail.vod_content = obj["description"]