From 462b1d812e07787f099f28bf2ecfc3bbab598fba Mon Sep 17 00:00:00 2001 From: yeyin <959567563@qq.com> Date: Mon, 13 Oct 2025 06:26:20 +0000 Subject: [PATCH] =?UTF-8?q?=E4=B8=8A=E4=BC=A0=E6=96=87=E4=BB=B6=E8=87=B3?= =?UTF-8?q?=20=E4=B8=83=E6=98=9F=E5=BD=B1=E8=A7=86/lib?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 七星影视/lib/310.js | 22 +++++++ 七星影视/lib/4K影视.json | 39 ++++++++++++ 七星影视/lib/4khdr.js | 134 +++++++++++++++++++++++++++++++++++++++ 七星影视/lib/55.json | 21 ++++++ 七星影视/lib/88看球.js | 61 ++++++++++++++++++ 5 files changed, 277 insertions(+) create mode 100644 七星影视/lib/310.js create mode 100644 七星影视/lib/4K影视.json create mode 100644 七星影视/lib/4khdr.js create mode 100644 七星影视/lib/55.json create mode 100644 七星影视/lib/88看球.js diff --git a/七星影视/lib/310.js b/七星影视/lib/310.js new file mode 100644 index 0000000..0f73404 --- /dev/null +++ b/七星影视/lib/310.js @@ -0,0 +1,22 @@ +var rule = { + title:'310直播', + host:'http://www.310.tv', + url:'/?s=0&t=1&a=fyclass&g=fypage', + searchUrl:'', + searchable:0, + quickSearch:0, + class_name:'热门&足球&篮球', + class_url:'0&1&2', + headers:{ + 'User-Agent':'MOBILE_UA' + }, + timeout:5000, + play_parse:false, + lazy:'', + limit:6, + double:false, + 推荐:'*', + 一级:'.list_content a;.jiabifeng&&p:lt(5)&&Text;.feleimg img&&src;a&&t-nzf-o;a&&href', + 二级:'*', + 搜索:'', +} \ No newline at end of file diff --git a/七星影视/lib/4K影视.json b/七星影视/lib/4K影视.json new file mode 100644 index 0000000..3a0569c --- /dev/null +++ b/七星影视/lib/4K影视.json @@ -0,0 +1,39 @@ +{ + "站名": "4K影院", + "简介": "天天开心提醒您:请勿相信影片中的广告,以免上当受骗!+

&&

", + "主页url": "https://www.4kvm.org", + "请求头": "", + "头部集合": "User-Agent$Mozilla/5.0 (iPhone; CPU iPhone OS 13_2_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML,like Gecko) Version/13.0.3 Mobile/15E148 Safari/604.1", + "热门推荐": "1", + "起始页": "1", + "数组": "
&&
", + "图片": "src=\"&&\"", + "标题": "alt=\"&&\"", + "副标题": "class=\"icon-star2\">&&
", + "链接": "href=\"&&\"", + "线路数组": "
&&", + "线路标题": "class='title'>&&", + "线路链接": "href=\"&&\"", + "多线数组": "
&&", + "多线链接": "href=\"&&\"", + "状态": "
&&
", + "导演": "
&&

演员

", + "主演": "

演员

&&
>>videourls:你我\"name\":1集,\"链洁\":\\&mvsource=0\"和他tables:]", + "播放数组": "videourls:&&tables:[替换:url\":>>链洁\":\\&ep=#name\":>>name\":第#}>>\\&source=0\"和他#{>>你我]", + "播放列表": "你我&&和他", + "播放标题": "name\":&&,", + "播放链接": "链洁\":&&\"", + "播放链接前缀": "https://www.4kvm.org/artplayer?id=+postid-&&\"", + "免嗅": "0", + "播放请求头": "User-Agent$Mozilla/5.0 (iPhone; CPU iPhone OS 13_2_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML,like Gecko) Version/13.0.3 Mobile/15E148 Safari/604.1", + "搜索url": "https://www.4kvm.org/wp-json/dooplay/search/?keyword={wd}&nonce=c1c25fbc3d", + "搜索模式": "1", + "搜索数组": "{\"t&&}", + "搜索图片": "img\":\"&&\"", + "搜索标题": "itle\":\"&&\"", + "搜索链接": "url\":\"&&\"", + "分类url": "https://www.4kvm.org/{cateId}/page/{catePg};;d0", + "分类": "电影$movies#美剧$classify/meiju#国产剧$classify/guochan#韩剧$classify/hanju#番剧$classify/fanju", + "筛选": "" +} \ No newline at end of file diff --git a/七星影视/lib/4khdr.js b/七星影视/lib/4khdr.js new file mode 100644 index 0000000..2a0cbbf --- /dev/null +++ b/七星影视/lib/4khdr.js @@ -0,0 +1,134 @@ +var rule = { + title:'4KHDR[磁]', + host:'https://www.4khdr.cn', + homeUrl: "/forum.php?mod=forumdisplay&fid=2&page=1", + url: '/forum.php?mod=forumdisplay&fid=2&filter=typeid&typeid=fyclass&page=fypage', + filter_url:'{{fl.class}}', + filter:{ + }, + searchUrl: '/search.php#searchsubmit=yes&srchtxt=**;post', + searchable:2, + quickSearch:1, + filterable:0, + headers:{ + 'User-Agent': 'PC_UA', + 'Cookie':'hvLw_2132_saltkey=TIHLl6lF; hvLw_2132_lastvisit=1692640733; hvLw_2132_visitedfid=2; hvLw_2132_sendmail=1; _clck=bmvlfv|2|fec|0|1328; hvLw_2132_seccodecSAH73=7547.d0a543395de43bfa49; hvLw_2132_ulastactivity=1692644363%7C0; hvLw_2132_auth=8608dKQC6bKMZh5FKg09ZhhWjbrygDZw3i%2FXQTK6RYYYKIhxi%2FVywBubisxssBZlQ%2BNfz9nK3ZiCNnUvF9HlL%2Fehrg; hvLw_2132_lastcheckfeed=99213%7C1692644363; hvLw_2132_checkfollow=1; hvLw_2132_lip=163.204.43.186%2C1692644363; hvLw_2132_sid=0; hvLw_2132_checkpm=1; hvLw_2132_noticeTitle=1; _clsk=x9bivq|1692644368391|2|1|x.clarity.ms/collect; hvLw_2132_lastact=1692644370%09index.php%09forumdisplay; hvLw_2132_st_t=99213%7C1692644370%7Ceeabd9f3f324a9138f1be3cc46fdcd01; hvLw_2132_forum_lastvisit=D_2_1692644370', + }, + timeout:5000, + class_name: "4K电影&4K美剧&4K华语&4K动画&4K纪录片&4K日韩印&蓝光电影&蓝光美剧&蓝光华语&蓝光动画&蓝光日韩印", + class_url:"3&8&15&6&11&4&29&31&33&32&34", + play_parse:true, + play_json:[{ + re:'*', + json:{ + parse:0, + jx:0 + } + }], + lazy:'', + limit:6, + 推荐:'ul#waterfall li;a&&title;img&&src;div.auth.cl&&Text;a&&href', + 一级:'ul#waterfall li;a&&title;img&&src;div.auth.cl&&Text;a&&href', + 二级:{ + title:"#thead_subject&&Text", + img:"img.zoom&&src", + desc:'td[id^="postmessage_"] font&&Text', + content:'td[id^="postmessage_"] font&&Text', + tabs:`js: +pdfh=jsp.pdfh;pdfa=jsp.pdfa;pd=jsp.pd; +TABS=[] +let d = pdfa(html, 'table.t_table'); +let aliIndex=1; +d.forEach(function(it) { + let burl = pdfh(it, 'a&&href'); + log("burl >>>>>>" + burl); + if (burl.startsWith("https://www.aliyundrive.com/s/")){ + TABS.push("aliyun"+aliIndex); + aliIndex = aliIndex + 1; + } +}); +d = pdfa(html, 'table.t_table a[href^="magnet"]'); +if (d.length>0){ + TABS.push("磁力"); +} +log('4khdr TABS >>>>>>>>>>>>>>>>>>' + TABS); +`, + lists:`js: +log(TABS); +pdfh=jsp.pdfh;pdfa=jsp.pdfa;pd=jsp.pd; +LISTS = []; +let d = pdfa(html, 'table.t_table'); +d.forEach(function(it){ + let burl = pdfh(it, 'a&&href'); + if (burl.startsWith("https://www.aliyundrive.com/s/")){ + let title = pdfh(it, 'a&&Text'); + log('title >>>>>>>>>>>>>>>>>>>>>>>>>>' + title); + burl = "http://127.0.0.1:9978/proxy?do=ali&type=push&url=" + encodeURIComponent(burl); + log('burl >>>>>>>>>>>>>>>>>>>>>>>>>>' + burl); + let loopresult = title + '$' + burl; + LISTS.push([loopresult]); + } +}); +let listm = []; +d.forEach(function(it){ + let burl = pdfh(it, 'a&&href'); + if (burl.startsWith("magnet")){ + let title = pdfh(it, 'a&&Text'); + log('title >>>>>>>>>>>>>>>>>>>>>>>>>>' + title); + log('burl >>>>>>>>>>>>>>>>>>>>>>>>>>' + burl); + let loopresult = title + '$' + burl; + listm.push(loopresult); + } +}); +if (listm.length>0){ + LISTS.push(listm); +} +`, + + }, + 一级:'ul#waterfall li;a&&title;img&&src;div.auth.cl&&Text;a&&href', + 搜索:`js: +pdfh=jsp.pdfh;pdfa=jsp.pdfa;pd=jsp.pd; +if (rule_fetch_params.headers.Cookie.startsWith("http")){ + rule_fetch_params.headers.Cookie=fetch(rule_fetch_params.headers.Cookie); + let cookie = rule_fetch_params.headers.Cookie; + setItem(RULE_CK, cookie); +}; +log('4khdr search cookie>>>>>>>>>>>>>>>' + rule_fetch_params.headers.Cookie); +let new_host= HOST + '/search.php'; +let new_html=request(new_host); +let formhash = pdfh(new_html, 'input[name="formhash"]&&value'); +log("4khdr formhash>>>>>>>>>>>>>>>" + formhash); +let params = 'formhash=' + formhash + '&searchsubmit=yes&srchtxt=' + KEY; +let _fetch_params = JSON.parse(JSON.stringify(rule_fetch_params)); +let postData = { + body: params +}; +Object.assign(_fetch_params, postData); +log("4khdr search postData>>>>>>>>>>>>>>>" + JSON.stringify(_fetch_params)); +let search_html = post( HOST + '/search.php', _fetch_params) +//log("4khdr search result>>>>>>>>>>>>>>>" + search_html); +let d=[]; +let dlist = pdfa(search_html, 'div#threadlist ul li'); +dlist.forEach(function(it){ + let title = pdfh(it, 'h3&&Text'); + if (searchObj.quick === true){ + if (title.includes(KEY)){ + title = KEY; + } + } + let img = ""; + let content = pdfh(it, 'p:eq(3)&&Text'); + let desc = pdfh(it, 'p:eq(2)&&Text'); + let url = pd(it, 'a&&href', HOST); + d.push({ + title:title, + img:img, + content:content, + desc:desc, + url:url + }) +}); +setResult(d); + `, +} \ No newline at end of file diff --git a/七星影视/lib/55.json b/七星影视/lib/55.json new file mode 100644 index 0000000..c75f3c1 --- /dev/null +++ b/七星影视/lib/55.json @@ -0,0 +1,21 @@ + { + + "作者":"荷城茶秀", + + "站名":"55影视", + + "主页url":"https://www.5555kan.com/", + + "简介":"+

", + + "导演":"导演:&&

", + + "主演":"主演:&&

", + + "线路数组":"

&&/h3>", + + "线路标题":">&&<", + + "分类url":"https://www.5555kan.com/show/{cateId}-{area}-{by}------{catePg}---{year}.html;;ak", + + "分类":"电影$1#电视剧$2#综艺$3#动漫$4"} \ No newline at end of file diff --git a/七星影视/lib/88看球.js b/七星影视/lib/88看球.js new file mode 100644 index 0000000..c552ea3 --- /dev/null +++ b/七星影视/lib/88看球.js @@ -0,0 +1,61 @@ +var rule = { + title:'88看球', + // host:'http://www.88kanqiu.cc', + host:'http://www.88kanqiu.bar/', + url: "/match/fyclass/live", + searchUrl: "", + searchable: 0, + quickSearch: 0, + class_parse: ".nav-pills li;a&&Text;a&&href;/match/(\\d+)/live", + headers: { + "User-Agent": "PC_UA", + }, + timeout: 5000, + play_parse: true, + pagecount:{"1":1,"2":1,"4":1,"22":1,"8":1,"9":1,"10":1,"14":1,"15":1,"12":1,"13":1,"16":1,"28":1,"7":1,"11":1,"33":1,"27":1,"23":1,"26":1,"3":1,"21":1,"18":1}, + lazy: `js: + if(/embed=/.test(input)) { + let url = input.match(/embed=(.*?)&/)[1]; + url = base64Decode(url); + input = { + jx:0, + url: url.split('#')[0], + parse: 0 + } + } else if (/\?url=/.test(input)){ + input = { + jx:0, + url: input.split('?url=')[1].split('#')[0], + parse: 0 + } + } else { + input + } + `, + limit: 6, + double: false, + 推荐: "*", + 一级: ".list-group .group-game-item;.d-none&&Text;img&&src;.btn&&Text;a&&href", + 二级: { + title: ".game-info-container&&Text;.customer-navbar-nav li&&Text", + img: "img&&src", + desc: ";;;div.team-name:eq(0)&&Text;div.team-name:eq(1)&&Text", + content: "div.game-time&&Text", + tabs: "js:TABS=['实时直播']", + lists: `js: + LISTS = []; + let html = request(input.replace('play', 'play-url')); + let pdata = JSON.parse(html).data; + pdata = pdata.slice(6); + pdata = pdata.slice(0, -2); + pdata = base64Decode(pdata); + // log(pdata); + let jo = JSON.parse(pdata).links; + let d = jo.map(function (it) { + return it.name + '$' + urlencode(it.url) + }); + LISTS.push(d) + `, + }, + 搜索: "", +}; \ No newline at end of file