[饿了么] 修复不能获取Cookie的问题及增加功能

This commit is contained in:
blackmatrix7 2022-08-30 21:21:56 +08:00
parent bd069e8a95
commit b895dc175d
18 changed files with 382 additions and 205 deletions

View File

@ -6,18 +6,38 @@
"repo": "https://github.com/blackmatrix7/ios_rule_script",
"apps": [
{
"id": "blackmatrix7.10010",
"name": "联通每日签到与抽奖",
"keys": ["unicom_user_cookie", "unicom_mobile", "unicom_encrypt_mobile", "city_code"],
"id": "blackmatrix7.bark",
"name": "Bark推送",
"keys": [
"bark_url"
],
"settings": [
{
"id": "bark_url",
"name": "Bark推送URL",
"val": "",
"type": "input",
"placeholder": "https://api.day.app/xxxxxxxxxxxxxxxxxx/",
"autoGrow": true,
"desc": "填写Bark推送的链接脚本通知将通过Bark推送"
}
],
"author": "@blackmatrix7",
"repo": "https://github.com/blackmatrix7/ios_rule_script/tree/master/script/10010",
"icons": ["https://raw.githubusercontent.com/Orz-3/mini/master/Alpha/10010.png", "https://raw.githubusercontent.com/Orz-3/mini/master/Color/10010.png"],
"script": "https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/10010/unicom_signin.js"
"repo": "https://git.codecolor.cool/matrix/script/bilibili",
"icons": [
"https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/icon/matrix/dark/bark.jpg",
"https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/icon/matrix/color/bark.jpg"
]
},
{
"id": "blackmatrix7.bilibili",
"name": "哔哩哔哩去广告",
"keys": ["bilibili_story_aid", "bilibili_feed_black", "bilibili_disable_index_story", "bilibili_enable_mall"],
"keys": [
"bilibili_story_aid",
"bilibili_feed_black",
"bilibili_disable_index_story",
"bilibili_enable_mall"
],
"settings": [
{
"id": "bilibili_feed_black",
@ -46,42 +66,41 @@
],
"author": "@blackmatrix7",
"repo": "https://github.com/blackmatrix7/ios_rule_script/tree/master/script/bilibili",
"icons": ["https://raw.githubusercontent.com/Orz-3/mini/master/Alpha/bilibili.png", "https://raw.githubusercontent.com/Orz-3/mini/master/Color/bilibili.png"]
},
{
"id": "blackmatrix7.didachuxing",
"name": "嘀嗒出行",
"keys": ["dida_cid", "dida_cookie", "dida_useragent", "dida_access_token"],
"author": "@blackmatrix7",
"repo": "https://github.com/blackmatrix7/ios_rule_script/tree/master/script/didachuxing",
"icons": ["https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/didachuxing/didachuxing.png", "https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/didachuxing/didachuxing.png"],
"script": "https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/didachuxing/didachuxing_plus.js"
},
{
"id": "blackmatrix7.didichuxing",
"name": "滴滴出行",
"keys": ["didi_token", "didi_city_id", "didi_lottery_id", "didi_my_source_id", "didi_group_id", "didi_finance_channel_id", "didi_finance_activity_id"],
"author": "@blackmatrix7",
"repo": "https://github.com/blackmatrix7/ios_rule_script/tree/master/script/didichuxing",
"icons": ["https://raw.githubusercontent.com/Orz-3/mini/master/Alpha/didi.png", "https://raw.githubusercontent.com/Orz-3/mini/master/Color/didi.png"],
"script": "https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/didichuxing/didi_checkin.js"
"icons": [
"https://raw.githubusercontent.com/Orz-3/mini/master/Alpha/bilibili.png",
"https://raw.githubusercontent.com/Orz-3/mini/master/Color/bilibili.png"
]
},
{
"id": "blackmatrix7.dingdong",
"name": "叮咚买菜",
"keys": ["dingdongmaicai_checkin_cookie", "dingdongmaicai_checkin_body"],
"keys": [
"dingdongmaicai_checkin_cookie",
"dingdongmaicai_checkin_body"
],
"author": "@blackmatrix7",
"repo": "https://github.com/blackmatrix7/ios_rule_script/tree/master/script/dingdong",
"icons": ["https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/dingdong/dingdong.png", "https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/dingdong/dingdong.png"],
"icons": [
"https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/dingdong/dingdong.png",
"https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/dingdong/dingdong.png"
],
"script": "https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/dingdong/dingdong_checkin.js"
},
{
"id": "blackmatrix7.eleme",
"name": "饿了么",
"keys": ["eleme_app_cookie", "eleme_app_longitude", "eleme_app_latitude"],
"keys": [
"eleme_app_cookie",
"eleme_app_longitude",
"eleme_app_latitude",
"eleme_task_keywords"
],
"author": "@blackmatrix7",
"repo": "https://github.com/blackmatrix7/ios_rule_script/tree/master/script/eleme",
"icons": ["https://raw.githubusercontent.com/Orz-3/mini/master/Alpha/elem.png", "https://raw.githubusercontent.com/Orz-3/mini/master/Color/elem.png"],
"repo": "https://git.codecolor.cool/matrix/script/eleme",
"icons": [
"https://raw.githubusercontent.com/Orz-3/mini/master/Alpha/elem.png",
"https://raw.githubusercontent.com/Orz-3/mini/master/Color/elem.png"
],
"scripts": [
{
"name": "领取吃货豆",
@ -91,51 +110,155 @@
"name": "领取会员任务",
"script": "https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/eleme/eleme_mission.js"
}
],
"settings": [
{
"id": "eleme_app_cookie",
"name": "Cookie",
"val": "",
"type": "input",
"placeholder": "",
"autoGrow": true,
"desc": "填写获取的饿了么Cookie"
},
{
"id": "eleme_app_longitude",
"name": "经度",
"val": "",
"type": "input",
"placeholder": "",
"autoGrow": true,
"desc": "填写抓包获取的饿了么经度"
},
{
"id": "eleme_app_latitude",
"name": "纬度",
"val": "",
"type": "input",
"placeholder": "",
"autoGrow": true,
"desc": "填写抓包获取的饿了么纬度"
},
{
"id": "eleme_task_keywords",
"name": "任务关键字",
"val": "美食外卖;",
"type": "input",
"placeholder": "多个关键词以;分隔,越靠前的关键词优先级越高",
"autoGrow": true,
"desc": "只领取含有关键字的任务"
},
{
"id": "magicjs_loglevel",
"name": "日志等级",
"val": "INFO",
"type": "radios",
"items": [
{
"key": "INFO",
"label": "INFO"
},
{
"key": "WARNING",
"label": "WARNING"
},
{
"key": "ERROR",
"label": "ERROR"
},
{
"key": "CRITICAL",
"label": "CRITICAL"
},
{
"key": "DEBUG",
"label": "DEBUG"
}
],
"desc": "出现异常时请选择DEBUG提交日志"
}
]
},
{
"id": "blackmatrix7.famijia",
"name": "Fa米家",
"keys": ["famijia_checkin_cookie", "famijia_device_id", "famijia_black_box"],
"keys": [
"famijia_checkin_cookie",
"famijia_device_id",
"famijia_black_box"
],
"author": "@blackmatrix7",
"repo": "https://github.com/blackmatrix7/ios_rule_script/tree/master/script/famijia",
"icons": ["https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/famijia/famijia.png", "https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/famijia/famijia.png"],
"icons": [
"https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/famijia/famijia.png",
"https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/famijia/famijia.png"
],
"script": "https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/famijia/famijia_checkin.js"
},
{
"id": "blackmatrix7.luka",
"name": "Luka阅读养成",
"keys": ["luka_checkin_cookie", "luka_signin_auth"],
"keys": [
"luka_checkin_cookie",
"luka_signin_auth"
],
"author": "@blackmatrix7",
"repo": "https://github.com/blackmatrix7/ios_rule_script/tree/master/script/luka",
"icons": ["https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/luka/luka.png", "https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/luka/luka.png"],
"icons": [
"https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/luka/luka.png",
"https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/luka/luka.png"
],
"script": "https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/luka/luka_signin.js"
},
{
"id": "blackmatrix7.manmanbuy",
"name": "慢慢买",
"keys": ["manmanbuy_checkin_cookie", "manmanbuy_login_body", "manmanbuy_username", "manmanbuy_deviceid"],
"keys": [
"manmanbuy_checkin_cookie",
"manmanbuy_login_body",
"manmanbuy_username",
"manmanbuy_deviceid"
],
"author": "@blackmatrix7",
"repo": "https://github.com/blackmatrix7/ios_rule_script/tree/master/script/manmanbuy",
"icons": ["https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/manmanbuy/manmanmai.png", "https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/manmanbuy/manmanmai.png"],
"icons": [
"https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/manmanbuy/manmanmai.png",
"https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/manmanbuy/manmanmai.png"
],
"script": "https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/manmanbuy/manmanbuy_checkin.js"
},
{
"id": "blackmatrix7.meituan",
"name": "美团买菜",
"keys": ["meituan_mall_cookie", "meituan_mall_t", "meituan_mall_querystring", "meituan_mall_uuid", "meituan_mall_userid", "meituan_mall_body"],
"keys": [
"meituan_mall_cookie",
"meituan_mall_t",
"meituan_mall_querystring",
"meituan_mall_uuid",
"meituan_mall_userid",
"meituan_mall_body"
],
"author": "@blackmatrix7",
"repo": "https://github.com/blackmatrix7/ios_rule_script/tree/master/script/meituan",
"icons": ["https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/meituan/maicai.png", "https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/meituan/maicai.png"],
"icons": [
"https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/meituan/maicai.png",
"https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/meituan/maicai.png"
],
"script": "https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/meituan/maicai_checkin.js"
},
{
"id": "blackmatrix7.smzdm",
"name": "什么值得买",
"keys": ["smzdm_cookie", "smzdm_session"],
"keys": [
"smzdm_cookie",
"smzdm_session"
],
"author": "@blackmatrix7",
"repo": "https://github.com/blackmatrix7/ios_rule_script/tree/master/script/smzdm",
"icons": ["https://raw.githubusercontent.com/Orz-3/mini/master/Alpha/smzdm.png", "https://raw.githubusercontent.com/Orz-3/mini/master/Color/smzdm.png"],
"icons": [
"https://raw.githubusercontent.com/Orz-3/mini/master/Alpha/smzdm.png",
"https://raw.githubusercontent.com/Orz-3/mini/master/Color/smzdm.png"
],
"scripts": [
{
"name": "每日自动任务",
@ -150,28 +273,31 @@
{
"id": "blackmatrix7.tieba",
"name": "百度贴吧",
"keys": ["tieba_checkin_cookie"],
"keys": [
"tieba_checkin_cookie"
],
"author": "@blackmatrix7",
"repo": "https://github.com/blackmatrix7/ios_rule_script/tree/master/script/tieba",
"icons": ["https://raw.githubusercontent.com/Orz-3/mini/master/Alpha/tieba.png", "https://raw.githubusercontent.com/Orz-3/mini/master/Color/tieba.png"],
"icons": [
"https://raw.githubusercontent.com/Orz-3/mini/master/Alpha/tieba.png",
"https://raw.githubusercontent.com/Orz-3/mini/master/Color/tieba.png"
],
"script": "https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/tieba/tieba_checkin.js"
},
{
"id": "blackmatrix7.wanda",
"name": "万达电影",
"keys": ["wanda_checkin_cookie", "wanda_activitycode"],
"author": "@blackmatrix7",
"repo": "https://github.com/blackmatrix7/ios_rule_script/tree/master/script/wanda",
"icons": ["https://raw.githubusercontent.com/Orz-3/mini/master/Alpha/wanda.png", "https://raw.githubusercontent.com/Orz-3/mini/master/Color/wanda.png"],
"script": "https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/wanda/wanda_checkin.js"
},
{
"id": "blackmatrix7.zhihu",
"name": "知乎助手",
"keys": ["zhihu_blocked_users", "zhihu_current_userinfo", "zhihu_keyword_block"],
"keys": [
"zhihu_blocked_users",
"zhihu_current_userinfo",
"zhihu_keyword_block"
],
"author": "@blackmatrix7",
"repo": "https://github.com/blackmatrix7/ios_rule_script/tree/master/script/zhihu",
"icons": ["https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.png", "https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.png"],
"icons": [
"https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.png",
"https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.png"
],
"descs_html": [
"<h4 align=\"left\">具体功能说明查看<a href=\"https://github.com/blackmatrix7/ios_rule_script/tree/master/script/zhihu#readme\">README.md</a></h4>",
"<h4 align=\"left\">✨为Plus版本专属功能❓为已过时或即将淘汰功能</h4>",
@ -309,7 +435,12 @@
{
"id": "blackmatrix7.synology",
"name": "Synology",
"keys": ["syno_https_url", "syno_account", "syno_passwd", "syno_sid"],
"keys": [
"syno_https_url",
"syno_account",
"syno_passwd",
"syno_sid"
],
"settings": [
{
"id": "syno_https_url",
@ -379,7 +510,10 @@
],
"author": "@blackmatrix7",
"repo": "https://github.com/blackmatrix7/ios_rule_script/tree/master/script/synology",
"icons": ["https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/synology/icon/synology_dark.jpg", "https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/synology/icon/synology.jpg"],
"icons": [
"https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/synology/icon/synology_dark.jpg",
"https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/synology/icon/synology.jpg"
],
"scripts": [
{
"name": "登录Synology",
@ -390,7 +524,13 @@
{
"id": "blackmatrix7.applestore",
"name": "AppleStore",
"keys": ["goods_model", "applestore_region", "applestore_bark_url", "applestore_stock", "onlinestore_stock"],
"keys": [
"goods_model",
"applestore_region",
"applestore_bark_url",
"applestore_stock",
"onlinestore_stock"
],
"author": "@blackmatrix7",
"repo": "https://github.com/blackmatrix7/ios_rule_script/tree/master/script/applestore",
"settings": [
@ -483,7 +623,10 @@
"desc": "出现异常时请选择DEBUG提交日志"
}
],
"icons": ["https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/applestore/icon/applestore_dark.png", "https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/applestore/icon/applestore.png"]
"icons": [
"https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/applestore/icon/applestore_dark.png",
"https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/applestore/icon/applestore.png"
]
}
]
}
}

View File

@ -6,26 +6,15 @@
自动领取吃货豆,非会员可能能用,我没有非会员账号,无法验证,有兴趣可以自己试试。
## 最近更新
1. 拆分领取吃货豆和领取会员任务的脚本
2. 支持最新多选一任务
3. 适配饿了么最新的吃货豆活动
4. 增加自动领取吃货豆功能
## 特别说明
目前已将领取吃货豆和领取会员任务的脚本拆分,请按需部署脚本。
### 获取数据
如果使用现成的Surge模块或Loon插件则会在0点10分领取吃货豆在早上10点领取任务列表中第一个可以领取的任务。
### 领取吃货豆
脚本自动领取APP中未领取的吃货豆。
需要同时获取到Cookie与坐标脚本才能正常执行获取方法见后。
### 多选一任务
对于最新更新的多选一任务,脚本会依次尝试领取所有任务。但因为多选一的关系,通常只会有第一个任务能成功领取。
脚本会依次尝试领取所有任务。但因为多选一的关系,通常只会有第一个任务能成功领取。
## 配置说明
@ -33,15 +22,16 @@
使用模块
```ini
https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/eleme/eleme_daily.sgmodule
```
### Loon
使用远程脚本配置
使用插件
```ini
[Remote Script]
https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/eleme/eleme_daily.lnscript, tag=饿了么_领取吃货豆及任务, enabled=true
https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/eleme/eleme_daily.lnplugin
```
### Quantumult X
@ -53,67 +43,75 @@ https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/ele
https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/eleme/eleme_daily.qxrewrite, tag=饿了么_获取Cookie, enabled=true
[task_local]
10 00 * * * https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/eleme/eleme_daily.js, tag=饿了么_领取吃货豆, enabled=true
00 10 * * * https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/eleme/eleme_mission.js, tag=饿了么_领取会员任务, enabled=true
05 10 * * * https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/eleme/eleme_daily.js, tag=饿了么_领取吃货豆, enabled=true
05 10 * * * https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/eleme/eleme_mission.js, tag=饿了么_领取会员任务, enabled=true
```
## 获取Cookie
## 获取数据
饿了么APP - 我的 - 超级吃货卡
### 获取Cookie
## 统一推送
打开饿了么APP即可。
MagicJS利用Bark实现了跨设备的统一推送能力将多个iOS设备的脚本执行结果统一推送到一个设备上。
### 获取坐标
执行效果图,以饿了么为例:
打开饿了么APP - 我的 - 赚吃货豆。
由于获取坐标的请求不是每次都触发的如果没有正确获取到坐标建议移除饿了么APP后台间隔10分钟后再尝试上述操作。
或者通过其他途径获取自身坐标通过BoxJS填入。
## Bark推送
通过BoxJS配置Bark推送链接可以将脚本通知通过Bark推送到其他设备上。
以饿了么为例:
![](https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/eleme/images/bark.jpg)
### 开启统一推送
在BoxJS中填写Bark推送链接即可。
你需要安装Bark这个APP打开后可以得到类似这样的链接
<img src="https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/eleme/images/bark_conf.jpg" style="zoom: 33%;" />
```http
https://api.day.app/VXTWvaQ18N29bsQAg7DgkT
## 青龙面板
MagicJS所有的变量都存储在脚本同级目录下的`magic.json`文件中,不支持通过环境变量读取变量。
在青龙面板中,在左侧菜单选择脚本管理,新建 `magic.json` 文件(文件名不可修改)。
写入如下json
```json
{
"eleme_app_cookie": "xxxxxxxxxxxxxxxxx",
"eleme_app_longitude": "111.1111111111",
"eleme_app_latitude": "111.1111111111",
"eleme_task_keywords": "美食外卖",
"bark_url": "https://api.day.app/xxxxxxxxxxxxxxxxxx/"
}
```
在Surge、Loon、QuantumultX中执行以下代码将链接写入(如何执行代码请自己动手解决)。
变量说明
**Surge、Loon**
| 变量名 | 说明 |
| ------------------- | ---------------------------------------------- |
| eleme_app_cookie | 饿了么Cookie |
| eleme_app_longitude | 饿了么经度 |
| eleme_app_latitude | 饿了么纬度 |
| eleme_task_keywords | 饿了么任务关键词,含有此关键词的任务才会被领取 |
| bark_url | Bark推送地址 |
```javascript
# 开启所有脚本统一推送
$persistentStore.write("https://api.day.app/VXTWvaQ18N29bsQAg7DgkT", "magicjs_unified_push_url");
如果你正在使用多个由MagicJS支持的脚本可以将变量写在同一个`magic.json`文件中,例如:
```json
{
"smzdm_cookie": "xxxxxxxxxxxxxxxxxxxxx",
"smzdm_session": "xxxxxxxxxxxxxxxxxxxxx",
"eleme_app_cookie": "xxxxxxxxxxxxxxxxx",
"eleme_app_longitude": "111.1111111111",
"eleme_app_latitude": "111.1111111111",
"eleme_task_keywords": "美食外卖",
"bark_url": "https://api.day.app/xxxxxxxxxxxxxxxxxx/"
}
```
**Quantumult X**
```javascript
# 开启所有脚本统一推送
$prefs.setValueForKey("https://api.day.app/VXTWvaQ18N29bsQAg7DgkT", "magicjs_unified_push_url");
```
### 关闭统一推送
**Surge、Loon**
```javascript
# 关闭所有脚本统一推送
$persistentStore.write("", "magicjs_unified_push_url");
```
**Quantumult X**
```javascript
# 关闭所有脚本统一推送
$prefs.setValueForKey("", "magicjs_unified_push_url");
```
### 其他
1. 统一推送能力仅对支持的脚本有效。
2. 开启统一推送后,所有支持统一推送的脚本,都会把通知推送到目标设备上。
3. 限于Bark的功能统一推送中的多媒体和链接不可用。
4. 统一推送需要使用Bark的服务器推送成功与否与Bark服务器的可用性有关。
5. 统一推送不会关闭APP的本地推送即两个iOS设备都会有推送。
6. 如有隐私考虑可以参考Bark的服务端文档自建服务端。

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,17 @@
#!name= 饿了么
#!desc= 饿了么每日自动领取任务及吃货豆
#!openUrl=https://github.com/blackmatrix7/ios_rule_script/tree/master/script/eleme
#!author= blackmatrix7
#!homepage= https://github.com/blackmatrix7/ios_rule_script
#!icon= https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/eleme/elem.png
[Script]
http-request ^https?:\/\/air\.tb\.ele\.me\/app\/conch-page\/svip-foodie-card\/home requires-body=1,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/eleme/eleme_daily.js,tag=饿了么_获取Cookie
http-request ^https?:\/\/air\.tb\.ele\.me\/app\/conch-page\/svip-home-tasklist-new\/home requires-body=1,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/eleme/eleme_daily.js,tag=饿了么_获取坐标1
http-request ^https?:\/\/tb\.ele\.me\/wow\/alsc\/mod requires-body=1,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/eleme/eleme_daily.js,tag=饿了么_获取坐标2
http-request ^https?:\/\/h5\.ele\.me\/restapi\/biz\.svip_scene\/svip\/engine\/queryTrafficSupply requires-body=1,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/eleme/eleme_daily.js,tag=饿了么_获取坐标3
cron "10 09 * * *" script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/eleme/eleme_daily.js,timeout=60,tag=饿了么_领取吃货豆
cron "15 09 * * *" script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/eleme/eleme_mission.js,timeout=60,tag=饿了么_领取会员任务
[MITM]
hostname = air.tb.ele.me,tb.ele.me,h5.ele.me

View File

@ -1,7 +0,0 @@
# 饿了么每日自动领取任务及吃货豆
http-request ^https?:\/\/h5\.ele\.me\/restapi\/biz\.svip_scene\/svip\/engine\/queryTrafficSupply requires-body=1,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/eleme/eleme_daily.js,tag=饿了么_获取cookie
cron "10 00 * * *" script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/eleme/eleme_daily.js,timeout=60,tag=饿了么_领取吃货豆
cron "00 10 * * *" script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/eleme/eleme_mission.js,timeout=60,tag=饿了么_领取会员任务
hostname = h5.ele.me

View File

@ -1,5 +1,8 @@
# 饿了么每日自动领取任务及吃货豆
^https?:\/\/air\.tb\.ele\.me\/app\/conch-page\/svip-foodie-card\/home url script-request-header https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/eleme/eleme_daily.js
^https?:\/\/air\.tb\.ele\.me\/app\/conch-page\/svip-home-tasklist-new\/home url script-request-header https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/eleme/eleme_daily.js
^https?:\/\/tb\.ele\.me\/wow\/alsc\/mod url script-request-header https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/eleme/eleme_daily.js
^https?:\/\/h5\.ele\.me\/restapi\/biz\.svip_scene\/svip\/engine\/queryTrafficSupply url script-request-header https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/eleme/eleme_daily.js
hostname = h5.ele.me
hostname = air.tb.ele.me,tb.ele.me,h5.ele.me

View File

@ -3,9 +3,12 @@
#!system=ios
[Script]
饿了么_领取吃货豆 = type=cron,cronexp=10 00 * * *,timeout=60,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/eleme/eleme_daily.js
饿了么_领取任务 = type=cron,cronexp=00 10 * * *,timeout=60,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/eleme/eleme_mission.js
饿了么_获取cookie = type=http-request,pattern=^https?:\/\/h5\.ele\.me\/restapi\/biz\.svip_scene\/svip\/engine\/queryTrafficSupply,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/eleme/eleme_daily.js
饿了么_领取吃货豆 = type=cron,cronexp=10 09 * * *,timeout=60,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/eleme/eleme_daily.js
饿了么_领取任务 = type=cron,cronexp=15 09 * * *,timeout=60,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/eleme/eleme_mission.js
饿了么_获取坐标1 = type=http-request,pattern=^https?:\/\/air\.tb\.ele\.me\/app\/conch-page\/svip-home-tasklist-new\/home,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/eleme/eleme_daily.js
饿了么_获取坐标2 = type=http-request,pattern=^https?:\/\/tb\.ele\.me\/wow\/alsc\/mod,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/eleme/eleme_daily.js
饿了么_获取坐标3 = type=http-request,pattern=^https?:\/\/h5\.ele\.me\/restapi\/biz\.svip_scene\/svip\/engine\/queryTrafficSupply,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/eleme/eleme_daily.js
饿了么_Cookies = type=http-request,pattern=^https?:\/\/air\.tb\.ele\.me\/app\/conch-page\/svip-foodie-card\/home,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/eleme/eleme_daily.js
[MITM]
hostname = %APPEND% h5.ele.me
hostname = %APPEND% air.tb.ele.me,tb.ele.me,h5.ele.me

File diff suppressed because one or more lines are too long

Binary file not shown.

After

Width:  |  Height:  |  Size: 98 KiB

View File

@ -1,9 +1,5 @@
{"name":"blackmatrix7",
"task":[
{
"config":"15 0 * * * https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/10010/unicom_signin.js, tag=中国联通, img-url=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/10010/10010.png, enabled=true",
"addons":"https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/10010/unicom_signin.qxrewrite,tag=联通_获取Cookie"
},
{
"config":"20 0 * * * https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/dingdong/dingdong_checkin.js, tag=叮咚买菜, img-url=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/dingdong/dingdong.png, enabled=true",
"addons":"https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/dingdong/dingdong_checkin.qxrewrite,tag=叮咚买菜_获取Cookie"
@ -40,10 +36,6 @@
"config":"20 0 * * * https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/smzdm_mission.js, tag=每日任务, img-url=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/smzdm.png, enabled=true",
"addons":"https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/smzdm_signin.qxrewrite,tag=什么值得买_获取Cookie"
},
{
"config":"20 0 * * * https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/wanda/wanda_checkin.js, tag=万达电影, img-url=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/wanda/wanda.png, enabled=true",
"addons":"https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/wanda/wanda_checkin.qxrewrite,tag=万达_获取Cookie"
},
{
"config":"30 0 * * * https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/meituan/maicai_checkin.js, tag=美团买菜, img-url=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/meituan/maicai.png, enabled=true",
"addons":"https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/meituan/maicai_checkin.qxrewrite,tag=美团买菜_获取Cookie"

View File

Before

Width:  |  Height:  |  Size: 10 KiB

After

Width:  |  Height:  |  Size: 10 KiB