forked from adsproo/txnews
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpear.js
More file actions
88 lines (68 loc) · 1.91 KB
/
pear.js
File metadata and controls
88 lines (68 loc) · 1.91 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
/*
app下载地址:https://is.gd/atCoeV
#圈Xpear解锁会员
^https:\/\/ayk\.tmdidi\.com\/api\/(movie\/WatchMovie|account\/IsVip|Account\/CheckVip|account\/IndexDetail|account\/IsSafeUser|PictureSet\/LookPhoto|account\/Milk|video\/watch.*|video\/WatchCount|account\/UserSetting) url script-response-body pear.js
MITM = ayk.tmdidi.com
*/
var body = $response.body;
var url = $request.url;
var obj = JSON.parse(body);
const vip = '/movie/WatchMovie';
const checkvip = '/account/IsVip';
const checkvip2 = '/Account/CheckVip';
const vipinfo = '/account/IndexDetail';
const safe = '/account/IsSafeUser';
const picfree = '/PictureSet/LookPhoto';
const spfree = '/video/watch';
const spcount = '/video/WatchCount';
const milk = '/account/Milk';
const point = '/account/UserSetting';
if (url.indexOf(vip) != -1) {
obj["canWath"] = true;
body = JSON.stringify(obj);
}
if (url.indexOf(checkvip) != -1) {
obj["data"] = 1;
obj["value"] = true;
body = JSON.stringify(obj);
}
if (url.indexOf(checkvip2) != -1) {
obj["data"] = 1;
obj["value"] = true;
body = JSON.stringify(obj);
}
if (url.indexOf(vipinfo) != -1) {
obj["nickName"] = "爱熬夜的好心人";
obj["vipLevel"] = 3;
obj["vipEndTime"] = "2222-05-21";
obj["cartoonVip"] = true;
body = JSON.stringify(obj);
}
if (url.indexOf(safe) != -1) {
obj["value"] = true;
body = JSON.stringify(obj);
}
if (url.indexOf(picfree) != -1) {
obj["value"] = true;
body = JSON.stringify(obj);
}
if (url.indexOf(spfree) != -1) {
obj["value"] = true;
body = JSON.stringify(obj);
}
if (url.indexOf(spcount) != -1) {
obj["todayCanWatchCount"] = 9999;
body = JSON.stringify(obj);
}
if (url.indexOf(milk) != -1) {
obj["milkName"] = "肯德鸡";
obj["milkLevel"] = 7;
body = JSON.stringify(obj);
}
if (url.indexOf(point) != -1) {
obj["orderVip"] = true;
obj["accountHadSet"] = true;
obj["memberPoint"] = 8000;
body = JSON.stringify(obj);
}
$done({body});