forked from chankanzu/Quan-X-1.3
-
Notifications
You must be signed in to change notification settings - Fork 0
/
VideoStar.js
54 lines (48 loc) · 1.96 KB
/
VideoStar.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
/*
[rewrite_local]
^https:\/\/.*\.videostarapp\.com\/scripts\/subsNew\.php url script-response-body langkhach/VideoStar.js
[mitm]
hostname = *.videostarapp.com,
*/
let obj = JSON.parse($response.body);
obj.latest_receipt = [{
"quantity": "1",
"product_id": "OneYearUnlockVS",
"transaction_id": "230000563000000",
"original_transaction_id": "230000563000000",
"purchase_date": "2018-07-24 00:08:51 Etc/GMT",
"purchase_date_ms": "1532390931000",
"purchase_date_pst": "2018-07-23 17:08:51 America/Los_Angeles",
"original_purchase_date": "2018-07-24 00:08:57 Etc/GMT",
"original_purchase_date_ms": "1532390931000",
"original_purchase_date_pst": "2018-07-23 17:08:57 America/Los_Angeles",
"expires_date": "2060-07-24 00:08:51 Etc/GMT",
"expires_date_ms": "2840141331000",
"expires_date_pst": "2060-07-23 17:08:51 America/Los_Angeles",
"web_order_line_item_id": "230000189000000",
"is_trial_period": "false",
"is_in_intro_offer_period": "false",
"subscription_group_identifier": "20300000"
}];
obj.in_app = [{
"quantity": "1",
"product_id": "OneYearUnlockVS",
"transaction_id": "230000563000000",
"original_transaction_id": "230000563000000",
"purchase_date": "2018-07-24 00:08:51 Etc/GMT",
"purchase_date_ms": "1532390931000",
"purchase_date_pst": "2018-07-23 17:08:51 America/Los_Angeles",
"original_purchase_date": "2018-07-24 00:08:57 Etc/GMT",
"original_purchase_date_ms": "1532390931000",
"original_purchase_date_pst": "2018-07-23 17:08:57 America/Los_Angeles",
"expires_date": "2020-07-24 00:08:51 Etc/GMT",
"expires_date_ms": "230000563000000",
"expires_date_pst": "2060-07-23 17:08:51 America/Los_Angeles",
"web_order_line_item_id": "230000189000000",
"is_trial_period": "false",
"is_in_intro_offer_period": "false"
}];
obj.activeSubs = {
"OneYearUnlockVS": "4102445330000"
}
$done({body: JSON.stringify(obj)});