forked from photonmang/quantumultX
-
Notifications
You must be signed in to change notification settings - Fork 6
/
BaiduCloud.js
43 lines (39 loc) · 1.18 KB
/
BaiduCloud.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
/*
百度云解锁倍速播放
Surge4.0:
http-response https:\/\/pan\.baidu\.com\/rest\/2\.0\/membership\/user requires-body=1,max-size=0,script-path=https://raw.githubusercontent.com/photonmang/quantumultX/master/BaiduCloud.js
QX1.0.0:
https:\/\/pan\.baidu\.com\/rest\/2\.0\/membership\/user url script-response-body https://raw.githubusercontent.com/photonmang/quantumultX/master/BaiduCloud.js
MITM = pan.baidu.com
*/
let obj = JSON.parse($response.body);
obj = {
"product_infos": [{
"product_id": "5310897792128633390",
"end_time": 2147483648,
"buy_time": "1417260485",
"cluster": "offlinedl",
"detail_cluster": "offlinedl",
"product_name": "gz_telecom_exp"
}, {
"product_name": "svip2_nd",
"product_description": "超级会员",
"function_num": 0,
"start_time": 1553702399,
"buy_description": "",
"buy_time": 0,
"product_id": "1",
"auto_upgrade_to_svip": 0,
"end_time": 1872502399,
"cluster": "vip",
"detail_cluster": "svip",
"status": 0
}],
"currenttime": 1573473597,
"reminder": {
"reminderWithContent": [],
"advertiseContent": []
},
"request_id": 7501873289383874371
};
$done({body: JSON.stringify(obj)});