YH/json/6vcl.json
2024-10-18 00:54:12 -05:00

65 lines
2.1 KiB
JSON
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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;
}
});
`,
},
: '*',
}