-
Notifications
You must be signed in to change notification settings - Fork 291
Expand file tree
/
Copy path999片.js
More file actions
70 lines (66 loc) · 2.04 KB
/
999片.js
File metadata and controls
70 lines (66 loc) · 2.04 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
65
66
67
68
69
70
/*
@header({
searchable: 2,
filterable: 1,
quickSearch: 1,
title: '999片',
author: 'EylinSir优化251201',
'类型': '影视',
lang: 'ds'
})
*/
var rule = {
author: 'EylinSir优化251201',
title: '999片',
类型: '影视',
host: 'https://www.998pian.com',
searchable: 2,
quickSearch: 1,
filterable: 1,
headers: {
'User-Agent': 'Mozilla/5.0 (Linux; Android 13; M2102J2SC Build/TKQ1.221114.001; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/141.0.7390.17 Mobile Safari/537.36'
},
url: '/vodshow/fyclass--------fypage---.html',
searchUrl: '/vodsearch/**----------fypage---.html',
搜索: '*',
推荐: '*',
class_name: '电影&电视剧&综艺&动漫&短剧',
class_url: 'dianying&dianshiju&zongyi&dongman&duanju',
一级: '.hl-lazy;a&&title;a&&data-original;.hl-lc-1&&Text;a&&href',
二级: {
title: 'h2&&Text;li:contains(分类)&&Text',
img: '.hl-lazy&&data-original',
desc: 'li:contains(更新)&&Text;li:contains(年份)&&Text;li:contains(地区)&&Text;li:contains(演员)&&Text;li:contains(导演)&&Text',
content: '.blurb&&Text',
tabs: '.hl-tabs-btn',
tab_text: 'Text',
lists: '.hl-list-wrap:eq(#id) li',
list_text: 'a&&Text',
list_url: 'a&&href'
},
sniffer: 0,
isVideo: 'http((?!http).){26,}\\.(m3u8|mp4|flv|avi|mkv|wmv|mpg|mpeg|mov|ts|3gp|rm|rmvb|asf|m4a|mp3|wma)',
play_parse: true,
lazy: async function lazyFunc() {
let html = await request(input);
let kcode = JSON.parse(html.split('aaaa=')[1].split('<')[0]);
let kurl = kcode.url;
if (/\.(m3u8|mp4)/.test(kurl)) {
input = {
jx: 0,
parse: 0,
url: kurl,
header: {
'User-Agent': MOBILE_UA,
'Referer': getHome(kurl)
}
};
} else {
input = {
jx: 0,
parse: 1,
url: input
};
}
}
}