1 Star 0 Fork 0

STENLIN/pojie

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
Audiomack.js 1.45 KB
一键复制 编辑 原始数据 按行查看 历史
LTribeSkyx 提交于 2020-05-11 21:10 . Create
/*
Quantumult X 脚本:
[rewrite_local]
# Audiomack 去广告(by LTribe)
^https?:\/\/api\.revenuecat\.com\/v\d\/subscribers\/\w+$ url script-response-body Audiomack.js
[mitm]
hostname = api.revenuecat.com,
*/
let obj = JSON.parse($response.body);
obj = {
"request_date": "2020-05-11T11:49:28Z",
"request_date_ms": 1589197768369,
"subscriber": {
"entitlements": {
"Premium1": {
"expires_date": "2020-05-18T09:56:58Z",
"product_identifier": "com.audiomack.premium.2018",
"purchase_date": "2020-05-11T09:56:58Z"
}
},
"first_seen": "2020-05-11T09:49:22Z",
"last_seen": "2020-05-11T11:46:45Z",
"management_url": "itms-apps://apps.apple.com/account/subscriptions",
"non_subscriptions": {},
"original_app_user_id": "304BCA4B-0322-44F8-A455-A091BFE178DE",
"original_application_version": "3698",
"original_purchase_date": "2020-05-11T09:48:40Z",
"other_purchases": {},
"subscriptions": {
"com.audiomack.premium.2018": {
"billing_issues_detected_at": null,
"expires_date": "2020-05-18T09:56:58Z",
"is_sandbox": false,
"original_purchase_date": "2020-05-11T09:56:59Z",
"period_type": "trial",
"purchase_date": "2020-05-11T09:56:58Z",
"store": "app_store",
"unsubscribe_detected_at": null
}
}
}
}
$done({body: JSON.stringify(obj)});
// Updated April 11,2020
// 仅供个人参考学习交流,勿用于其它...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/stenlin/pojie.git
git@gitee.com:stenlin/pojie.git
stenlin
pojie
pojie
master

搜索帮助