From 514df95856605f2fd445f7ce0d5d8837319602f8 Mon Sep 17 00:00:00 2001 From: src48597962 <48597962@qq.com> Date: Sun, 27 Aug 2023 19:42:22 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'SrcJyCustomJk.js'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SrcJyCustomJk.js | 74 ------------------------------------------------ 1 file changed, 74 deletions(-) diff --git a/SrcJyCustomJk.js b/SrcJyCustomJk.js index d5b57fb1..c11c243c 100644 --- a/SrcJyCustomJk.js +++ b/SrcJyCustomJk.js @@ -108,80 +108,6 @@ let customparse = { //log(e.message); } return list; - }, - csp_custom_77: function (name,type) { - if(type=="ss"){//搜索 - let list = []; - try { - let html = request("https://api.tyun77.cn/api.php/provide/searchVideo?searchName="+name); - let data = JSON.parse(html).data; - data.forEach(item=>{ - let dataname = item.videoName; - if(dataname == name || (getSearchMode()==0&&dataname.indexOf(name)>-1)){ - list.push({ - vodname: dataname, - vodpic: item.videoCover.replace(/http.*?\?url=/,''), - voddesc: item.msg, - vodurl: item.id - }) - } - }) - } catch (e) { - //log(e.message); - } - return list; - }else if(type=="erji"){ - return { - url: function (vid) {//影片链接解析处理 - let qqtime = parseInt(new Date().getTime() / 1000) + ''; - let qqtok = md5('/api.php/provide/videoDetailrealme4ac3fe96a6133de96904b8d3c8cfe16d'+vid+'40.954705116.801239RMX1931com.sevenVideo.app.android010110005'+ qqtime +'android7.1.22.1.4'+ qqtime +'XSpeUFjJ'); - let html = request('https://api.tyun77.cn/api.php/provide/videoDetail?brand=realme&devid=4ac3fe96a6133de96904b8d3c8cfe16d&ids='+vid+'&lat=40.954705&lon=116.801239&model=RMX1931&package=com.sevenVideo.app.android&pcode=010110005&sj='+qqtime+'&sys=android&sysver=7.1.2&version=2.1.4', { - headers: { - "User-Agent": "okhttp/3.12.0", - "t": qqtime, - "TK": qqtok - } - }); - return {html:html,vid:vid}; - }, - data: function (obj) {//影片详情、线路、选集 - let json = JSON.parse(obj.html).data; - let detail1 = '主演:' + json.actor + '\n地区:'+json.area+' 年份:'+json.year; - let detail2 = '分类:' + json.subCategory + '\n状态:'+json.msg; - let img = json.videoCover; - let desc = json.brief; - let qqtime = parseInt(new Date().getTime() / 1000) + ''; - let vid = obj.vid; - let qqtok = md5('/api.php/provide/videoPlaylistrealme4ac3fe96a6133de96904b8d3c8cfe16d'+vid+'40.954705116.801239RMX1931com.sevenVideo.app.android010110005'+ qqtime +'android7.1.22.1.4'+ qqtime +'XSpeUFjJ'); - let html = fetch('https://api.tyun77.cn/api.php/provide/videoPlaylist?brand=realme&devid=4ac3fe96a6133de96904b8d3c8cfe16d&ids='+vid+'&lat=40.954705&lon=116.801239&model=RMX1931&package=com.sevenVideo.app.android&pcode=010110005&sj='+qqtime+'&sys=android&sysver=7.1.2&version=2.1.4', { - headers: { - "User-Agent": "okhttp/3.12.0", - "t": qqtime, - "TK": qqtok - } - }); - let lines =[];//线路数组 - let lists =[];//选集数组 - let list =[];//单选集临时 - let data = JSON.parse(html).data.episodes; - data.forEach(it=>{ - if(lines.indexOf(it.source)==-1){ - lines.push(it.source); - } - list.push(it.title.replace(it.albumTitle,'')+'$'+it.playurl); - }) - lists.push(list.join('#')); - return { - detail1:detail1, - detail2:detail2, - img:img, - desc:desc, - lines:lines, - lists:lists - } - } - } - } } }