forked from gaotianliuyun/gao
-
Notifications
You must be signed in to change notification settings - Fork 0
/
qimiao.js
63 lines (63 loc) · 1.29 KB
/
qimiao.js
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
var rule = {
title:'奇妙搜[夸]',
host:'https://www.magicalsearch.top',
homeUrl:'/',
url: '/search?',
filter_url:'{{fl.class}}',
filter:{
},
搜索编码: 'utf-8',
searchUrl: '/api/pshou/getData?type=%E9%98%BF%E9%87%8C%E7%BD%91%E7%9B%98&word=**',
searchable:2,
quickSearch:0,
filterable:0,
headers:{
'User-Agent': PC_UA,
'Accept': '*/*',
'Referer': 'https://www.magicalsearch.top/'
},
timeout:5000,
class_name:'',
class_url:'',
play_parse:true,
play_json:[{
re:'*',
json:{
parse:0,
jx:0
}
}],
lazy:'',
limit:6,
推荐:'',
一级:'',
二级:`js:
VOD.vod_play_from = "網盤";
VOD.vod_remarks = detailUrl;
VOD.vod_actor = "沒有二級,只有一級鏈接直接推送播放";
VOD.vod_content = MY_URL;
VOD.vod_play_url = "播放$" + detailUrl;
`,
搜索:`js:
let new_html=request(input);
//log("qimiao search result>>>>>>>>>>>>>>>" + new_html);
let json=JSON.parse(JSON.parse(new_html));
json = json.result.items;
let d=[];
for(const it in json){
if (json.hasOwnProperty(it)){
log("qimiao search it>>>>>>>>>>>>>>>" + JSON.stringify(json[it]));
if (json[it].title.includes(KEY)){
d.push({
title:json[it].title,
img:'',
content:json[it].content.title,
desc:json[it].insert_time,
url:'push://'+json[it].page_url
});
}
}
}
setResult(d);
`,
}