mirror of
https://github.com/fmz200/wool_scripts.git
synced 2025-12-20 13:43:58 +08:00
Compare commits
3 Commits
8404eb29e7
...
c671a0fae3
| Author | SHA1 | Date | |
|---|---|---|---|
| c671a0fae3 | |||
| f221f450da | |||
| 67b473bc13 |
@ -1,7 +1,9 @@
|
|||||||
{
|
{
|
||||||
"name": "fmz200のTasks",
|
"name": "fmz200のTasks",
|
||||||
"description": "收集一些自用的定时任务,更新日期:2025-04-26 21:11:00",
|
"description": "收集一些自用的定时任务,更新日期:2025-09-21 00:11:00",
|
||||||
"task": [
|
"task": [
|
||||||
|
"0 * * * * ? https://raw.githubusercontent.com/fmz200/wool_scripts/main/Scripts/TestFlight/AutoMonitorTF.js, tag=监控TestFlight位置, img-url=https://raw.githubusercontent.com/fmz200/wool_scripts/main/icons/erdongchanyo/TestFlight.png, enabled=true",
|
||||||
|
"0 0/3 * * * ? https://raw.githubusercontent.com/fmz200/wool_scripts/main/Scripts/TestFlight/AutoJoinTF.js, tag=自动加入TestFlight, img-url=https://raw.githubusercontent.com/fmz200/wool_scripts/main/icons/apps/testflight.png, enabled=true",
|
||||||
"0 7,11,17 * * * https://gist.githubusercontent.com/Sliverkiss/33800a98dcd029ba09f8b6fc6f0f5162/raw/aliyun.js, tag=阿里云盘签到, img-url=https://raw.githubusercontent.com/fmz200/wool_scripts/main/icons/apps/AliYunDrive.png, enabled=true",
|
"0 7,11,17 * * * https://gist.githubusercontent.com/Sliverkiss/33800a98dcd029ba09f8b6fc6f0f5162/raw/aliyun.js, tag=阿里云盘签到, img-url=https://raw.githubusercontent.com/fmz200/wool_scripts/main/icons/apps/AliYunDrive.png, enabled=true",
|
||||||
"10 0,8,12,18 * * * https://raw.githubusercontent.com/passerby-b/didi_fruit/main/dd_fruit.js, tag=滴滴橙心果园, img-url=https://raw.githubusercontent.com/fmz200/wool_scripts/main/icons/apps/didi.png, enabled=true",
|
"10 0,8,12,18 * * * https://raw.githubusercontent.com/passerby-b/didi_fruit/main/dd_fruit.js, tag=滴滴橙心果园, img-url=https://raw.githubusercontent.com/fmz200/wool_scripts/main/icons/apps/didi.png, enabled=true",
|
||||||
"30 1,8,12,17 * * * https://raw.githubusercontent.com/fmz200/wool_scripts/main/Scripts/kuaishou/ks_fruit.js, tag=快手果园, img-url=https://raw.githubusercontent.com/fmz200/wool_scripts/main/icons/apps/kuaishou.png, enabled=true",
|
"30 1,8,12,17 * * * https://raw.githubusercontent.com/fmz200/wool_scripts/main/Scripts/kuaishou/ks_fruit.js, tag=快手果园, img-url=https://raw.githubusercontent.com/fmz200/wool_scripts/main/icons/apps/kuaishou.png, enabled=true",
|
||||||
|
|||||||
@ -117,7 +117,7 @@ https://github.com/fmz200/wool_scripts/raw/main/Loon/rule/Douyin.list
|
|||||||
| # | 重写 | `App&小程序净化合集` | [cleanup.snippet](https://github.com/fmz200/wool_scripts/raw/main/QuantumultX/rewrite/cleanup.snippet) | [fmz200](https://github.com/fmz200) | 常见的微信小程序净化(有误杀慎用) | 暂无 |
|
| # | 重写 | `App&小程序净化合集` | [cleanup.snippet](https://github.com/fmz200/wool_scripts/raw/main/QuantumultX/rewrite/cleanup.snippet) | [fmz200](https://github.com/fmz200) | 常见的微信小程序净化(有误杀慎用) | 暂无 |
|
||||||
| # | 分流 | `去广告合集` | [filter.list](https://raw.githubusercontent.com/fmz200/wool_scripts/main/QuantumultX/filter/filter.list) | [fmz200](https://github.com/fmz200) | 无 | [点击查看](./QuantumultX/filter/00-How-To-Use-Filter.md) |
|
| # | 分流 | `去广告合集` | [filter.list](https://raw.githubusercontent.com/fmz200/wool_scripts/main/QuantumultX/filter/filter.list) | [fmz200](https://github.com/fmz200) | 无 | [点击查看](./QuantumultX/filter/00-How-To-Use-Filter.md) |
|
||||||
| # | 分流 | `屏蔽苹果系统更新` | [blockAppleUpdate.list](https://raw.githubusercontent.com/fmz200/wool_scripts/main/QuantumultX/filter/blockAppleUpdate.list) | [fmz200](https://github.com/fmz200) | 有效 | [点击查看](./QuantumultX/filter/00-How-To-Use-Filter.md) |
|
| # | 分流 | `屏蔽苹果系统更新` | [blockAppleUpdate.list](https://raw.githubusercontent.com/fmz200/wool_scripts/main/QuantumultX/filter/blockAppleUpdate.list) | [fmz200](https://github.com/fmz200) | 有效 | [点击查看](./QuantumultX/filter/00-How-To-Use-Filter.md) |
|
||||||
| # | Task订阅 | `Task订阅` | [fmz200_tasks.json](https://raw.githubusercontent.com/fmz200/wool_scripts/main/boxjs/fmz200_tasks.json) | [fmz200](https://github.com/fmz200) | 需要先获取cookie或token再运行 | 暂无 |
|
| # | Task订阅 | `Task订阅` | [fmz200_tasks.json](https://raw.githubusercontent.com/fmz200/wool_scripts/main/QuantumultX/tasks/fmz200_tasks.json) | [fmz200](https://github.com/fmz200) | 需要先获取cookie或token再运行 | 暂无 |
|
||||||
|
|
||||||
> ⚠️ 当远程图标更新时如果你的图表库不更新多半是缓存的问题,请手动清理图标缓存(`点击右下角风车->划到最下面->选择其他设置->找到资源模块`,选择`删除图片缓存`),并重启 Quantumult X,远程图标会重新下载并生效。
|
> ⚠️ 当远程图标更新时如果你的图表库不更新多半是缓存的问题,请手动清理图标缓存(`点击右下角风车->划到最下面->选择其他设置->找到资源模块`,选择`删除图片缓存`),并重启 Quantumult X,远程图标会重新下载并生效。
|
||||||
|
|
||||||
|
|||||||
@ -12,7 +12,7 @@ const isNode = $.isNode();
|
|||||||
const notify = isNode ? require('./sendNotify') : '';
|
const notify = isNode ? require('./sendNotify') : '';
|
||||||
$.nodeNotifyMsg = []; // nodeJS合并通知
|
$.nodeNotifyMsg = []; // nodeJS合并通知
|
||||||
|
|
||||||
let TF_APP_ID = isNode ? process.env["fmz200_TF_APP_ID"] : $.getdata("fmz200_TF_APP_ID");
|
const TF_APP_ID = isNode ? process.env["fmz200_TF_APP_ID"] : $.getdata("fmz200_TF_APP_ID");
|
||||||
const userAgents = [
|
const userAgents = [
|
||||||
"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36",
|
"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36",
|
||||||
"Mozilla/5.0 (Macintosh; Intel Mac OS X 11_6_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36",
|
"Mozilla/5.0 (Macintosh; Intel Mac OS X 11_6_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36",
|
||||||
@ -73,37 +73,37 @@ function autoPost(appId, appName, appIdInfo) {
|
|||||||
return new Promise(function (resolve) {
|
return new Promise(function (resolve) {
|
||||||
$.get({url: url, headers: header}, async function (error, resp, data) {
|
$.get({url: url, headers: header}, async function (error, resp, data) {
|
||||||
console.log("❤️ 查询appId情况响应");
|
console.log("❤️ 查询appId情况响应");
|
||||||
console.log("1、打印error");
|
// console.log("1、打印error");
|
||||||
console.log(error);
|
// console.log(error);
|
||||||
// console.log("2、打印resp,包括headers,status,body");
|
// console.log("2、打印resp,包括headers,status,body");
|
||||||
// console.log(resp);
|
// console.log(resp);
|
||||||
// console.log("3、打印data,这是响应体");
|
// console.log("3、打印data,这是响应体");
|
||||||
// console.log(data);
|
// console.log(data);
|
||||||
|
|
||||||
if (resp.status === 404) {
|
if (resp.status === 404) {
|
||||||
console.log(`[D] ${url} → 不存在 ⚠️`);
|
console.log(`[D] ${appIdInfo} → 不存在 ⚠️`);
|
||||||
resolve();
|
resolve();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (resp.status !== 200) {
|
if (resp.status !== 200) {
|
||||||
console.log(`[?] ${url} → 返回状态码: ${resp.status}`);
|
console.log(`[?] ${appIdInfo} → 返回状态码: ${resp.status}`);
|
||||||
resolve();
|
resolve();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (error == null) {
|
if (error == null) {
|
||||||
// 检查状态 F
|
// 检查状态 F
|
||||||
if (/版本的测试员已满|This beta is full/.test(data)) {
|
if (/版本的测试员已满|This beta is full/.test(data)) {
|
||||||
console.log(`[F] ${url} → 已满`);
|
console.log(`[F] ${appIdInfo} → 已满`);
|
||||||
resolve();
|
resolve();
|
||||||
}
|
}
|
||||||
// 检查状态 N
|
// 检查状态 N
|
||||||
else if (/版本目前不接受任何新测试员|This beta isn't accepting any new testers/.test(data)) {
|
else if (/版本目前不接受任何新测试员|This beta isn't accepting any new testers/.test(data)) {
|
||||||
console.log(`[N] ${url} → 暂不接受新成员`);
|
console.log(`[N] ${appIdInfo} → 暂不接受新成员`);
|
||||||
resolve();
|
resolve();
|
||||||
}
|
}
|
||||||
// 检查状态 Y,这里的“To join the”有两个地方其实不太准确,但是确实是可以加入的(上面的匹配不到默认是可以加入的)
|
// 检查状态 Y,这里的“To join the”有两个地方其实不太准确,但是确实是可以加入的(上面的匹配不到默认是可以加入的)
|
||||||
else if (/要加入 Beta 版|To join the/.test(data)) {
|
else if (/要加入 Beta 版|To join the/.test(data)) {
|
||||||
console.log(`[Y] ${url} → 可加入`);
|
console.log(`[Y] ${appIdInfo} → 可加入`);
|
||||||
if (isNode) {
|
if (isNode) {
|
||||||
$.nodeNotifyMsg.push(`[${appIdInfo}]可加入,URL: ${url}`);
|
$.nodeNotifyMsg.push(`[${appIdInfo}]可加入,URL: ${url}`);
|
||||||
} else {
|
} else {
|
||||||
@ -115,8 +115,10 @@ function autoPost(appId, appName, appIdInfo) {
|
|||||||
}
|
}
|
||||||
resolve();
|
resolve();
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
console.log("something went wrong!");
|
||||||
|
resolve();
|
||||||
}
|
}
|
||||||
resolve();
|
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user