From 5f4a62a4e6d52a0e2eba1c327ea4651e1e198ef9 Mon Sep 17 00:00:00 2001 From: qist <87984115@qq.com> Date: Mon, 25 Nov 2024 17:16:53 +0800 Subject: [PATCH] =?UTF-8?q?add=20=E9=97=AA=E9=9B=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dianshi.json | 1 + js/678.js | 80 ++++++++++++++++++++++++++++++++++++++++++++++++++++ jsm.json | 1 + 3 files changed, 82 insertions(+) create mode 100644 js/678.js diff --git a/dianshi.json b/dianshi.json index ba464b80..fa9b0737 100644 --- a/dianshi.json +++ b/dianshi.json @@ -9,6 +9,7 @@ {"key":"drpy_js_TVB云播","name":"影视 | TVB云播[js]","type":3,"api":"./lib/drpy2.min.js","ext":"./js/TVB云播.js"}, {"key":"腾讯","name":"腾讯(官)","type":3,"api":"./lib/drpy2.min.js","ext":"./js/tengxun.js"}, {"key":"芒果","name":"芒果(官)","type":3,"api":"./lib/drpy2.min.js","ext":"./js/mgtv.js"}, +{"key":"闪雷","name":"闪雷┃MP4","type":3,"api":"./lib/drpy2.min.js","ext":"./js/678.js"}, {"key":"玩偶","name":"👽玩偶哥哥┃4K弹幕","type":3,"api":"csp_WoGG","searchable":1,"quickSearch":1,"changeable":0, "ext": {"Cloud-drive":"tvfan/Cloud-drive.txt","from":"4k|auto","siteUrl":"https://www.wogg.net/","danMu":"弹"}}, {"key":"YGP","name":"🚀叨观荐影┃预告片","type":3,"api":"csp_YGP","searchable":0,"quickSearch":0,"changeable":0}, diff --git a/js/678.js b/js/678.js new file mode 100644 index 00000000..055da8f3 --- /dev/null +++ b/js/678.js @@ -0,0 +1,80 @@ +var rule = { + title:'点播', + host:'http://tv.jsp47.com', + homeUrl:'', + searchUrl:'https://www.ugigc.us.kg/shanlei.php?searchword=**', + searchable:2, + quickSearch:1, + multi:1, + filterable:1, + headers:{ + 'User-Agent':'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.5735.289 Safari/537.36' + }, + timeout:5000, + class_name:'电影&电视剧&综艺&动漫', + class_url:'5000&10&8&6', + limit:20, + play_parse:true, + lazy:"", + 一级:`js: + let d = []; + let html = request(input); + let json = JSON.parse(html); + json.data.forEach(function(data) { + d.push({ + url: data.url, + title: data.name, + img: data.img, + desc: data.desc + }) + }); + setResult(d); + `, + 二级:`js: + let d = []; + let html = request(input); + let json = JSON.parse(html).data; + VOD = { + vod_name: "", + type_name: "", + vod_actor: "", + vod_year: "", + vod_content: "", + vod_remarks: "", + vod_pic: "" + }; + VOD.vod_name = json.name; + VOD.vod_year = json.year; + VOD.type_name = json.type_name; + VOD.vod_pic = json.pic; + VOD.vod_actor = json.actor; + VOD.vod_content = json.content; + let playData = json.eps; + playData.forEach(function(it) { + d.push({ + url: it.url, + img: json.pic, + title: it.name, + desc: "" + }) + }) + VOD.vod_play_from = "默认"; + VOD.vod_play_url = d.map(function(it) { + return it.title + "$" + it.url + }).join("#"); + `, + 搜索:`js: + let d = []; + let html = request(input); + let json = JSON.parse(html); + json.data.forEach(function(data) { + d.push({ + url: data.url, + title: data.name, + img: data.img, + desc: data.desc + }) + }); + setResult(d); + ` +} diff --git a/jsm.json b/jsm.json index f3305811..299114a5 100644 --- a/jsm.json +++ b/jsm.json @@ -11,6 +11,7 @@ {"key":"drpy_js_TVB云播","name":"影视 | TVB云播[js]","type":3,"api":"./lib/drpy2.min.js","ext":"./js/TVB云播.js"}, {"key":"腾讯","name":"腾讯(官)","type":3,"api":"./lib/drpy2.min.js","ext":"./js/tengxun.js"}, {"key":"芒果","name":"芒果(官)","type":3,"api":"./lib/drpy2.min.js","ext":"./js/mgtv.js"}, +{"key":"闪雷","name":"闪雷┃MP4","type":3,"api":"./lib/drpy2.min.js","ext":"./js/678.js"}, {"key":"玩偶","name":"👽玩偶哥哥┃4K弹幕","type":3,"api":"csp_WoGG","searchable":1,"quickSearch":1,"changeable":0, "ext": {"Cloud-drive":"tvfan/Cloud-drive.txt","from":"4k|auto","siteUrl":"https://www.wogg.net/","danMu":"弹"}}, {"key":"YGP","name":"🚀叨观荐影┃预告片","type":3,"api":"csp_YGP","searchable":0,"quickSearch":0,"changeable":0},