shawenguan 1 månad sedan
förälder
incheckning
4122463a28

+ 3 - 1
QuantumultX.conf

@@ -3,7 +3,7 @@
 ; https://github.com/Hackl0us/GeoIP2-CN/raw/release/Country.mmdb
 
 
-# > 解锁网易云灰色音乐,获取证书链接 
+# > 解锁网易云灰色音乐,获取证书链接
 ; https://raw.gitmirror.com/nondanee/UnblockNeteaseMusic/master/ca.crt
 # > 具体操作步骤可参考下面这篇《利用QuantumultX解锁网易云付费及非版权音乐》文章
 ; https://mp.weixin.qq.com/s/ca6U1O2FTfcqzL7TnJ04IQ
@@ -52,6 +52,8 @@ fallback_udp_policy=direct
 
 
 [task_local]
+0 0 1 1 * https://git.jojo21.top/shawenguan/Quantumult-X/raw/master/Scripts/zhuanzhuan/zhuanzhuanSearch.js, tag=转转搜索, enabled=true
+
 33 8,9,18,19,20 * * * https://git.jojo21.top/shawenguan/Quantumult-X/raw/master/Scripts/xiaomi/ZeppLifeHelper.js, tag=ZeppLife(原小米运动)刷步, enabled=true
 30 0 * * * https://git.jojo21.top/shawenguan/Quantumult-X/raw/master/Scripts/telecom/cloud189Helper.js, tag=天翼云盘签到, enabled=true
 10 9 * * * https://git.jojo21.top/shawenguan/Quantumult-X/raw/master/Scripts/imoutai/imoutaiHelper.js, tag=i茅台每日预约, enabled=true

+ 0 - 104
Scripts/iTunes/iTunes.js

@@ -1,104 +0,0 @@
-/***********************************
-
- > ScriptName        BuyiTunes多合一脚本[墨鱼版]
- > Author            @ddgksf2013
- > ForHelp           若有屏蔽广告的需求,可公众号后台回复APP名称
- > WechatID          墨鱼手记
- > TgChannel         https://t.me/ddgksf2021
- > Contribute        https://t.me/ddgksf2013_bot
- > Feedback          📮 [email protected] 📮
- > UpdateTime        2024-02-19
- > Suitable          自行观看“# > ”注释内容,解锁是暂时的,购买也不是永久的[订阅、跑路]
- > Attention         如需引用请注明出处,谢谢合作!
- > Attention         使用此脚本,会导致AppleStore无法切换账户,解决方法[关闭QX切换账户,或关闭MITM,或删除脚本,或去设置媒体与购买项目处切换ID]
- > ScriptURL         https://gist.githubusercontent.com/ddgksf2013/9e0f6c7341beea09a31aa309d9d7f502/raw/buyitunes.js
- ***********************************/
-/*
-iTunes多合一应用解锁
-
-[Script]
-# > iTunes多合一应用解锁
-^https?:\/\/xxx\.xxx\.xxx\.com url script-response-body https://git.jojo21.top/shawenguan/Quantumult-X/raw/master/Scripts/iTunes/iTunes.js
-
-[MITM]
-hostname = xxx.xxx.xxx.com
-
-*/
-
-let rspData = JSON.parse($response.body);
-
-// ========= 动态ID ========= //
-let productidmap = {
-    'default': ['ddgksf2013', 'https://t.me/ddgksf2021', 0],
-    'com.sugarmo.ScrollClip': ['picsewV3.9.4', 'com.sugarmo.ScrollClip.pro', 1],
-    'com.zijayrate.analogcam': ['oldroll', 'com.zijayrate.analogcam.vipforever10', 0],
-    'com.loveyouchenapps.knockout': ['proknockout', 'com.knockout.7daysplus', 0],
-    'net.shinyfrog.bear-iOS': ['bear', 'net.shinyfrog.bear_iOS.pro_yearly_subscription_bis', 0],
-    'com.yengshine.proccd': ['proccd', 'com.yengshine.proccd.year', 0],
-    'com.yumiteam.Kuki.ID': ['PicsLeap', 'com.yumiteam.Kuki.ID.4', 1],
-    'com.calc.iphone': ['Calculator', 'calc_Unlock_1', 0],
-    'me.imgbase.intolive': ['intolive', 'me.imgbase.intolive.proSubYearly', 0],
-    'MVH6DNU2ZP.input': ['logcg', 'com.logcg.loginput', 1],
-    'com.waterminder.waterminder': ['waterminder', 'waterminder.premiumYearly', 0],
-    'wtf.riedel.one-sec': ['onesec', 'wtf.riedel.one_sec.pro.annual.individual', 0],
-    'com.aaaalab.nepacket': ['http', 'com.li.blur.pro.month', 0],
-    'com.inturnex.Sticker-Maker': ['Sticker', 'com.inturnex.Sticker_Maker.full_access', 1],
-    'FuYuan.inkDiary': ['Secai', 'FuYuan.inkDiary.YearB.Pro', 0],
-    'me.imgbase.imgplay': ['imgplay', 'me.imgbase.imgplay.subscriptionYearly', 0],
-    'com.mediaeditor.video': ['PrettyUp', 'yearautorenew', 0],
-    'com.anycasesolutions.SexTracker': ['SexTracker', 'com.anycasesolutions.SexTracker.3mon', 0],
-    'com.jianili.pawff': ['pawff', 'com.jianili.pawff.pro.monthly', 0],
-    'icar.ren.smk': ['smk', 'smoke19870727', 0],
-    'com.meditation.heartratehrv': ['meditation', 'lifetimeusa', 1],
-    'livintis.com.wallpapermonster': ['wallpaper', 'wallpaperworld.subscription.yearly.12.notrial', 0],
-    'me.imgbase.videoday': ['videoday', 'me.imgbase.videoday.profeaturesYearly', 0],
-    'com.icandiapps.nightsky': ['nightsky', 'com.icandiapps.ns4.annual', 0]
-}
-
-// ========= 固定部分 ========= //
-rspData.Attention = "恭喜你抓到元数据!由墨鱼分享,请勿售卖或分享他人!";
-let mapid = rspData.receipt.bundle_id;
-
-mapping = productidmap[mapid] || productidmap.default;
-let inapp = {
-    product_id: mapping[1],
-    quantity: "1",
-    expires_date: "2099-12-18 23:59:59 Etc/GMT",
-    expires_date_pst: "2099-12-18 23:59:59 America/Los_Angeles",
-    expires_date_ms: "4101292799000",
-    is_in_intro_offer_period: "false",
-    transaction_id: "100000000000000",
-    is_trial_period: "false",
-    original_transaction_id: "100000000000000",
-    purchase_date_ms: "1701705599000",
-    purchase_date: "2023-12-04 23:59:59 Etc/GMT",
-    purchase_date_pst: "2023-12-04 23:59:59 America/Los_Angeles",
-    original_purchase_date: "2023-12-04 23:59:59 Etc/GMT",
-    original_purchase_date_pst: "2023-12-04 23:59:59 America/Los_Angeles",
-    original_purchase_date_ms: "1701705599000",
-    in_app_ownership_type: "PURCHASED",
-    web_order_line_item_id: "100000000000000"
-};
-let renew = {
-    product_id: mapping[1],
-    original_transaction_id: "100000000000000",
-    auto_renew_product_id: mapping[1],
-    auto_renew_status: "1"
-};
-
-if (mapping[2]) {
-    // 删除不必要的属性
-    delete inapp.expires_date;
-    delete inapp.expires_date_ms;
-    delete inapp.expires_date_pst;
-} else {
-    // 设置响应数据
-    rspData.latest_receipt_info = [inapp];
-    rspData.latest_receipt = "https://t.me/ddgksf2021";
-    rspData.pending_renewal_info = [renew];
-}
-// 更新 receipt 的 in_app 属性
-rspData.receipt.in_app = [inapp];
-
-// 完成请求并返回结果
-$done({ body: JSON.stringify(rspData) });

+ 3 - 1
Scripts/wubian/wubianSynthesis.js

@@ -325,7 +325,7 @@ function checkUpdateActivityDataCache(activityId) {
             let detail = gSynthesizeResultDict[index];
             let result = detail.result;
             if (result) {
-                if (result.code == 200 || (result.code == 500 && (result.msg.indexOf('单品状态发生变化') != -1))) {
+                if (result.code == 200 || (result.code == 500 && result.msg.indexOf('单品状态发生变化') != -1)) {
                     let costGoodsList = detail.goodsList;
                     let costGoodsDict = {};
                     for (let goodsId of costGoodsList) {
@@ -455,6 +455,7 @@ async function trySynthesize() {
                     }
                     nFailCount += 1;
                 }
+                magicJS.logger.info(`序号[${retData.index}]执行结果:${retData?.msg || '未知'}`);
             }
             tipsText += `成功兑换次数:${nSuccCount}\n`;
             tipsText += `失败兑换次数:${nFailCount}\n`;
@@ -802,6 +803,7 @@ async function doCreateConvertOrder(index, activityId, goodsList) {
         try {
             let rspData = response.body;
             magicJS.logger.info(`rspData=${JSON.stringify(rspData)}`);
+            rspData.index = index;
             gSynthesizeResultList.push(rspData);
             gSynthesizeResultDict[index] = { activityId: activityId, result: rspData, goodsList: goodsList };
             return rspData;

+ 3 - 0
Scripts/zhuanzhuan/zhuanzhuanSearch.js

@@ -25,11 +25,14 @@ async function trySearch() {
         }
         let respData = retSearch.respData;
         let infos = respData.infos;
+
         for (let info of infos) {
+            magicJS.logger.info(`infoId=${info.infoId}`);
             let retGoodsInfo = await getGoodsInfo(info.infoId);
             let report = retGoodsInfo.respData?.report;
             let itemId2AttrInfo = report.itemId2AttrInfo;
             if (checkOSVersionLow(itemId2AttrInfo, '17.0')) {
+                magicJS.logger.info(`匹配到${JSON.stringify(itemId2AttrInfo)}`);
                 await addLoveInfo(info.infoId);
             }
             await magicJS.utils.sleep(1000);