mirror of https://github.com/NobyDa/Script.git
37 lines
1.0 KiB
JavaScript
37 lines
1.0 KiB
JavaScript
|
/*
|
|||
|
Vivavideo unlock vip
|
|||
|
Script data comes from @hiepkimcdtk55
|
|||
|
|
|||
|
Surge4:
|
|||
|
http-response ^https:\/\/viva\.v21xy\.com\/api\/rest\/u\/vip requires-body=1,max-size=0,script-path=https://raw.githubusercontent.com/NobyDa/Script/master/Surge/JS/vivavideo.js
|
|||
|
QX:
|
|||
|
^https:\/\/viva\.v21xy\.com\/api\/rest\/u\/vip url script-response-body https://raw.githubusercontent.com/NobyDa/Script/master/Surge/JS/vivavideo.js
|
|||
|
|
|||
|
Surge & QX MITM = viva.v21xy.com
|
|||
|
*/
|
|||
|
|
|||
|
var obj = JSON.parse($response.body);
|
|||
|
obj = {
|
|||
|
"autoRenewProductId": "premium_platinum_yearly",
|
|||
|
"iosDeviceProductVo": {
|
|||
|
"premiumVipWeekly": 3,
|
|||
|
"premiumGoldMonthly": 3,
|
|||
|
"premiumPlatinumMonthly": 3,
|
|||
|
"premiumGoldYearly": 3,
|
|||
|
"premiumPlatinumYearly": 2,
|
|||
|
"premiumPlatinumHalfYearly": 3,
|
|||
|
"premiumVipYearly": 3
|
|||
|
},
|
|||
|
"isTrialPeriod": true,
|
|||
|
"endTime": 4081109070000,
|
|||
|
"platform": 2,
|
|||
|
"vipType": "premium_platinum_yearly",
|
|||
|
"duidDgest": "DIIe86X35",
|
|||
|
"autoRenewStatus": 1,
|
|||
|
"startTime": 1556241871000,
|
|||
|
"systemDate": 1556965441014
|
|||
|
};
|
|||
|
|
|||
|
$done({body: JSON.stringify(obj)});
|
|||
|
|
|||
|
// Descriptions
|