/******************************

脚本功能：Sharp Al-智能照片修复——解锁订阅
下载地址：https://is.gd/U1ACXT
软件版本：2.14.4
脚本作者：彭于晏💞
更新时间：2023-10-20
问题反馈：QQ+89996462
QQ会员群：779392027💞
TG反馈群：https://t.me/plus8889
TG频道群：https://t.me/py996
使用声明：⚠️此脚本仅供学习与交流，请勿转载与贩卖！⚠️⚠️⚠️


*******************************

[rewrite_local]

^https?:\/\/api\.revenuecat\.com\/v1\/(subscribers\/[^\/]+$|receipts$) url script-response-body https://git.vsprit.com/shawenguan/Quantumult-X/raw/master/Scripts/others/Sharp.js

[MITM]

hostname = api.revenuecat.com

********************************/

var py996 = JSON.parse($response.body);
py996.subscriber.entitlements = {
  "pro": {
    "expires_date": "9999-09-09T09:09:09Z",
    "product_identifier": "ape.weekly.discount",
    "purchase_date": "2023-02-23T02:33:33Z"
  }
};
py996.subscriber.original_purchase_date = "2023-02-23T03:33:33Z";
py996.subscriber.subscriptions = {
  "ape.weekly.discount": {
    "expires_date": "9999-09-09T09:09:09Z",
    "original_purchase_date": "2023-02-23T02:33:33Z",
    "purchase_date": "2023-02-23T02:33:33Z",
    "ownership_type" : "PURCHASED",
    "store" : "app_store"
  }
};
$done({ body: JSON.stringify(py996) });