From ddd76042e8c6ce545802b97090362802709563f6 Mon Sep 17 00:00:00 2001 From: dongchenys <14018478+dongchenys@user.noreply.gitee.com> Date: Thu, 28 Mar 2024 08:39:23 +0000 Subject: [PATCH] 1 Signed-off-by: dongchenys <14018478+dongchenys@user.noreply.gitee.com> --- js/xjdj.js | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 js/xjdj.js diff --git a/js/xjdj.js b/js/xjdj.js new file mode 100644 index 0000000..e87486b --- /dev/null +++ b/js/xjdj.js @@ -0,0 +1,23 @@ +var rule = { + title: '种子短剧', + host: 'http://zzdj.cc', + homeUrl: '/api.php/provide/vod?ac=detail', + searchUrl: '/api.php/provide/vod?ac=detail&wd=**&pg=fypage', + detailUrl: '/api.php/provide/vod?ac=detail&ids=fyid', + url: '/api.php/provide/vod?ac=detail&t=fyclass&pg=fypage&f=', + class_name: '短剧&KS&DY&都市&古装&重生&逆袭&虐恋&萌宝&言情&穿越&战神&神医&赘婿&甜宠&其他', + class_url: '1&2&3&4&5&6&7&8&9&10&11&12&13&14&15&16', + tab_rename:{'zzdj':'东辰影视'}, + 推荐: 'json:list;vod_name;vod_pic;vod_remarks;vod_id', + 一级: 'json:list;vod_name;vod_pic;vod_remarks;vod_id', + 二级: `js: + let html = request(input); + let list = JSON.parse(html).list; + if(list.length===1){ + VOD = list[0]; + VOD.vod_blurb = VOD.vod_blurb.replace(/ /g, '').replace(/<[^>]*>/g, ''); + VOD.vod_content = VOD.vod_content.replace(/ /g, '').replace(/<[^>]*>/g, ''); + } + `, + 搜索: 'json:list;vod_name;vod_pic;vod_remarks;vod_id', +} \ No newline at end of file