-
Notifications
You must be signed in to change notification settings - Fork 283
Expand file tree
/
Copy pathiFun.js
More file actions
51 lines (50 loc) · 1.19 KB
/
iFun.js
File metadata and controls
51 lines (50 loc) · 1.19 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
/*
@header({
searchable: 2,
filterable: 1,
quickSearch: 0,
title: 'iFun',
'类型': '影视',
lang: 'ds'
})
*/
var rule = {
title: 'iFun',
host: 'https://ifun.cc/',
url: '/list/fyclass/?page=fypage',
searchUrl: '/search?key=**',
searchable: 2,
quickSearch: 0,
filterable: 1,
filter: '',
filter_url: '',
filter_def: {},
headers: {
'User-Agent': 'MOBILE_UA',
},
timeout: 5000,
class_parse: 'ul.cat-menu&&li;a&&Text;a&&href;list/(.*?)/',
cate_exclude: '',
play_parse: true,
lazy: $js.toString(() => {
input = {parse: 1, url: input, js: ''};
}),
double: true,
推荐: '.videos;div.item;*;*;*;*',
一级: '.videos&&a.item;.title&&Text;img&&src;.rt&&Text;a&&href',
二级: {
title: 'h1&&Text',
img: 'img&&src',
desc: '.updated&&Text',
content: '.intro&&.inner&&p:eq(-1)&&Text',
tabs: $js.toString(() => {
TABS = ['播放'];
}),
lists: '.episode-list&&li',
tab_text: 'body&&Text',
list_text: 'body&&Text',
list_url: 'a&&href',
list_url_prefix: '',
},
搜索: '.videos&&div.item;*;*;div.vs&&Text;*',
}