GenshinHelper Updates
1K subscribers
1 photo
8 files
15 links
Genshin Impact Helper - Automatically get Genshin Impact daily check-in rewards.

Chat Group: https://t.me/genshinhelper
Tutorial: http://bit.ly/genshin-impact-helper
PyPI : http://bit.ly/pypi-genshinhelper
Docker: http://bit.ly/docker-genshinhelper
Download Telegram
Channel created
v2.0.0 20211030 Released

https://github.com/y1ndan/genshinhelper2
https://gitlab.com/y1ndan/genshinhelper2
https://gitlab.com/y1ndan/genshin-checkin-helper

Download
docker: https://hub.docker.com/r/yindan/genshinhelper
serverless zip: https://wwa.lanzoux.com/b07mk6dla password: ed03

Breaking Changes
genshinhelper 从v2.0.0开始,分为genshinhelper2和genshin-checkin-helper两个项目,同时分离出onepush推送包。

genshinhelper2 - 签到相关的封装库,不能开箱即用。
genshin-checkin-helper - 签到主程序。
onepush - Push all in One. 一个简单易用的推送包。

之前终端运行 genshinhelper or `python -m genshinhelper`可以直接运行签到脚本,现在改为将论坛cookie转换为米游币cookie。

docker 配置文件映射目录为:/etc/genshin:/app/genshincheckinhelper/config

配置文件config.json变化:
> 新增变量
RANDOM_SLEEP_SECS_RANGE:随机延迟休眠秒数范围,单位:秒。设置成"0-0"为取消延迟。
CHECK_IN_TIME:每日签到时间。该时间和运行环境的时间有关,和时区无关。如果是docker,可以用TZ=Asia/Shanghai设置时区。
CHECK_RESIN_SECS:原神原粹树脂检测间隔时间,单位:秒。
COOKIE_RESIN_TIMER:需要开启原粹树脂检测账号的cookie。
SHOPTOKEN:微信积分商城的token,通过抓包获取。
ONEPUSH:推送配置。notifier为推送名字,params为所需参数。详见后文。

> 修改变量
COOKIE_WEIBO:国际版微博抓包后,请求地址里?后的全部参数。
例如:
https://api.weibo.cn/2/xxxxxx?aid=xxx&c=weicoabroad&from=123&gsid=_xxx&i=xxx&lang=zh_CN&s=xxx&ua=iPhone12%2C1_iOS14.0.1_Weibo_intl._4330_cell&v_p=59

COOKIE_WEIBO= aid=xxx&c=weicoabroad&from=123&gsid=_xxx&i=xxx&lang=zh_CN&s=xxx&ua=iPhone12%2C1_iOS14.0.1_Weibo_intl._4330_cell&v_p=59

> 移除变量
CRON_SIGNIN
MAX_SLEEP_SECS
RUN_ENV
BARK_KEY
BARK_SOUND
COOL_PUSH_SKEY
COOL_PUSH_MODE
CUSTOM_NOTIFIER
DD_BOT_TOKEN
DD_BOT_SECRET
DISCORD_WEBHOOK
IGOT_KEY
PUSH_PLUS_TOKEN
PUSH_PLUS_USER
SCKEY
SCTKEY
TG_BOT_API
TG_BOT_TOKEN
TG_USER_ID
WW_ID
WW_APP_SECRET
WW_APP_USERID
WW_APP_AGENTID
WW_BOT_KEY

Features
* 新增 原神原粹树脂溢出提醒
* 新增 原神微信积分商城签到
* 新增 社区任务签到支持崩坏:星穹铁道
* 新增 社区任务签到支持显示当前米游币
* 新增 hoyolab国际服支持显示角色服务器
* 新增 hoyolab国际服支持显示旅行者札记Traveler‘s Diary

Fixes
* 修复 微博超话检测失效
注意:
1. 下列参数如果
required字段包含 'title' 或 'content',ONEPUSH变量中都不需要设置。例如serverchan不需要设置 'title'。
2. custom方式暂时不支持推送签到结果。

OnePush配置讲解

在配置文件中,设置ONEPUSH变量开启推送
"ONEPUSH": {
"notifier": "",
"params": {
"markdown": false
}

如果使用环境变量,需要写成
ONEPUSH={"notifier":"","params":{"markdown":false}}
如果报错,可以添加单引号试试看
ONEPUSH='{"notifier":"","params":{"markdown":false}}'

ONEPUSH有两个字段
notifier: 推送名字
params: 推送参数

OnePush推送参数一览
推送名称 / notifier: bark
参数大全 / params:
{'required': ['key'], 'optional': ['title', 'content', 'sound', 'isarchive', 'icon', 'group', 'url', 'copy', 'autocopy']}

推送名称 / notifier: custom
参数大全 / params:
{'required': ['url'], 'optional': ['method', 'datatype', 'data']}

推送名称 / notifier: dingtalk
参数大全 / params:
{'required': ['token'], 'optional': ['title', 'content', 'secret', 'markdown']}

推送名称 / notifier: discord
参数大全 / params:
{'required': ['webhook'], 'optional': ['title', 'content', 'username', 'avatar_url', 'color']}

推送名称 / notifier: pushplus
参数大全 / params:
{'required': ['token', 'content'], 'optional': ['title', 'topic', 'markdown']}

推送名称 / notifier: qmsg
参数大全 / params:
{'required': ['key'], 'optional': ['title', 'content', 'mode', 'qq']}

推送名称 / notifier: serverchan
参数大全 / params:
{'required': ['sckey', 'title'], 'optional': ['content']}

推送名称 / notifier: serverchanturbo
参数大全 / params:
{'required': ['sctkey', 'title'], 'optional': ['content', 'channel', 'openid']}

推送名称 / notifier: telegram
参数大全 / params:
{'required': ['token', 'userid'], 'optional': ['title', 'content', 'api_url']}

推送名称 / notifier: wechatworkapp
参数大全 / params:
{'required': ['corpid', 'corpsecret', 'agentid'], 'optional': ['title', 'content', 'touser', 'markdown']}

推送名称 / notifier: wechatworkbot
参数大全 / params:
{'required': ['key'], 'optional': ['title', 'content', 'markdown']}

例子
telegram
ONEPUSH={"notifier":"telegram","params":{"markdown":false,"token":"xxxx","userid":"xxx"}}

discord
ONEPUSH={"notifier":"discord","params":{"markdown":true,"webhook":"https://discord.com/api/webhooks/xxxxxx"}}
genshinhelper2 v2.0.2 20211101 Released

https://github.com/y1ndan/genshinhelper2
https://gitlab.com/y1ndan/genshinhelper2

Fixes
* 修复 更新崩坏3签到接口至v2
* 修复 `python3 -m genshinhelper`获取米游币cookie失败

genshin-checkin-helper v1.0.1 20211101 Released

https://gitlab.com/y1ndan/genshin-checkin-helper

Features
* 新增 原粹树脂计时器现在可以显示原粹树脂恢复情况、今日委托完成情况、周本体力减半次数和探索派遣完成情况
* 新增 原粹树脂计时器现在可以提醒探索派遣完成情况
* 新增 原粹树脂计时器限制推送消息条数。默认为5次,即原粹树脂满了不使用会推送5次,探索派遣完成了不领取也会推送5次,之后还没有改变状态就不会再提醒了

Fixes
* 修复 当原粹树脂超过最大值时原粹树脂计时器不提醒

onepush v1.1.0 20211101 Released

https://github.com/y1ndan/onepush
https://gitlab.com/y1ndan/onepush

Features
* 新增 Go-cqhttp 推送方式


Download
docker: https://hub.docker.com/r/yindan/genshinhelper
serverless zip: https://wwa.lanzoux.com/b07mk6dla password: ed03
genshin-checkin-helper v1.0.3 20211108 Released

https://gitlab.com/y1ndan/genshin-checkin-helper
https://gitee.com/y1ndan/genshin-checkin-helper

Features
* 新增 RESIN_THRESHOLD 变量:自定义树脂提醒阈值。默认值:150
* 新增 RESIN_TIMER_DO_NOT_DISTURB 变量:勿扰模式时间段。默认值:"23:00-07:00"

Fixes
* 修复 原粹树脂计时器无法检测多账号
* 修复 领取微博兑换码后无法正常显示

Performances
* 优化 跳过实时便笺获取失败的情况

Download
docker: https://hub.docker.com/r/yindan/genshinhelper
serverless zip: https://wwa.lanzoux.com/b07mk6dla password: ed03