From 158941a6f673bb76877cb4e13194e665ff0a7308 Mon Sep 17 00:00:00 2001 From: 1028 dokiss <629371505@qq.com> Date: Tue, 30 Apr 2024 16:32:09 +0000 Subject: [PATCH] =?UTF-8?q?=E4=B8=8A=E4=BC=A0=E6=96=B0=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- js/6V新版_磁_.js | 65 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 65 insertions(+) create mode 100644 js/6V新版_磁_.js diff --git a/js/6V新版_磁_.js b/js/6V新版_磁_.js new file mode 100644 index 0000000..af57e87 --- /dev/null +++ b/js/6V新版_磁_.js @@ -0,0 +1,65 @@ +var rule = { + title:'6V新版[磁]', + host:'http://www.xb6v.com', + // host:'https://www.66s6.net', + // url: '/fyclass/index_fypage.html[/fyclass/index.html]', + url: '/fyclassfyfilter/index_fypage.html[/fyclassfyfilter/index.html]', + filter_url:'{{fl.class}}', + filter:{ + "dianshiju":[{"key":"class","name":"类型","value":[{"n":"全部","v":""},{"n":"国剧","v":"/guoju"},{"n":"日韩剧","v":"/rihanju"},{"n":"欧美剧","v":"/oumeiju"}]}] + }, + searchUrl: '/e/search/index.php#show=title&tempid=1&tbname=article&mid=1&dopost=search&submit=&keyboard=**;post', + searchable:2, + quickSearch:0, + filterable:1, + headers:{ + 'User-Agent': 'MOBILE_UA' + }, + timeout:5000, + class_parse:'#menus&&li:gt(1);a&&Text;a&&href;.*/(.*)/', + cate_exclude:'欧美剧|旧版6v', + play_parse:true, + limit:6, + 推荐: '*', + 一级: '#post_container&&li;h2&&Text;img&&src;.info_date&&Text;a&&href', + 二级: { + "title": "#content&&h1&&Text;.info_category&&Text", + "img": "#post_content&&img&&src", + "desc": ";;;#post_content&&p:eq(0)&&Text;#post_content&&p:eq(2)&&Text", + "content": "#post_content&&p:eq(1)&&Text", + "tabs": `js: + TABS = ["道长磁力"]; + let tabs = pdfa(html, '#content&&h3:not(:contains(网盘))'); + tabs.forEach((it) => { + TABS.push(pdfh(it, "body&&Text").replace('播放地址','道长在线').replace('(无插件 极速播放)','一').replace('(无需安装插件)','二')) + }); + `, + "lists": `js: + log(TABS); + pdfh=jsp.pdfh;pdfa=jsp.pdfa;pd=jsp.pd; + LISTS = []; + let i = 1; + TABS.forEach(function(tab) { + if (/道长磁力/.test(tab)) { + var d = pdfa(html, '.context&&td'); + d = d.map(function(it) { + var title = pdfh(it, 'a&&Text'); + var burl = pd(it, 'a&&href'); + return title + '$' + burl + }); + LISTS.push(d) + } else if (/道长在线/.test(tab) && i <= TABS.length-1) { + var d = pdfa(html, '.context&&.widget:eq(list_idx)&&a'.replace("list_idx", i)); + d = d.map(function(it) { + var title = pdfh(it, 'a&&Text'); + var burl = pd(it, 'a&&href'); + return title + '$' + burl + }); + LISTS.push(d) + i = i + 1; + } + }); + `, + }, + 搜索: '*', +} \ No newline at end of file