-
Notifications
You must be signed in to change notification settings - Fork 296
Expand file tree
/
Copy path一起看.js
More file actions
64 lines (63 loc) · 1.61 KB
/
一起看.js
File metadata and controls
64 lines (63 loc) · 1.61 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
/*
@header({
searchable: 0,
filterable: 1,
quickSearch: 0,
title: '一起看',
'类型': '影视',
lang: 'ds'
})
*/
var rule = {
title:'一起看',
host:'http://www.cpldq.com',
url:'/cptype/fyclass-fypage.html',
searchUrl:'',
searchable:0,
quickSearch:0,
filterable:1,
filter:'',
filter_url:'',
headers:{
'User-Agent':'MOBILE_UA',
},
timeout:5000,
class_parse:'ul.top-nav&&li;a&&Text;a&&href;/(\\d+)\.html',
cate_exclude:'',
play_parse:true,
lazy:$js.toString(()=>{
input = {parse:1,url:input,js:''};
}),
double:true,
推荐:'.main&&.bgte1130;ul&&.sb-film-one;*;*;*;*',
一级:'.sb-area-index&&ul&&.qcontainer;i&&Text;.lazy&&data-original;.other&&Text;a&&href',
二级:{
title:'.name&&Text;.ct&&dd&&Text',
img:'.lazy&&data-original',
desc:'.ct&&dd:eq(1)&&Text;.ct&&dd:eq(2)&&Text;.ct&&dt:eq(2)&&Text;.ct&&dt&&Text;',
content:'div.ee&&Text',
tabs:'.playfrom--sup&&li',
lists:'.playlist:eq(#id)&&ul&&li',
lists:$js.toString(()=>{
//log(html);
LISTS = [];
pdfa(html,'body&&.playlist').forEach((it)=>{
let lis = pdfa(it,'ul&&li');
let lis1 = [];
lis.forEach((item,index)=>{
let tt = pdfh(item,'body&&Text');
//log('item:'+item);
let uu = pd(item,'a&&href',MY_URL);
if(!/дрр/.test(tt)){
lis1.push(tt+'$'+uu);
}
});
LISTS.push(lis1);
});
}),
tab_text:'body&&Text',
list_text:'body&&Text',
list_url:'a&&href'
},
搜索:'列表;标题;图片;描述;链接;详情',
}