Skip to content

Commit

Permalink
fix: 原神游戏签到API更新
Browse files Browse the repository at this point in the history
Closes #222
  • Loading branch information
Ljzd-PRO committed Dec 1, 2023
1 parent 4a42beb commit 039bf67
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/nonebot_plugin_mystool/game_sign_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -223,11 +223,12 @@ class GenshinImpactSign(BaseGameSign):
原神 游戏签到
"""
NAME = "原神"
ACT_ID = "e202009291139501"
ACT_ID = "e202311201442471"
GAME_ID = 2
URL_REWARD = "https://api-takumi.mihoyo.com/event/bbs_sign_reward/home"
URL_INFO = "https://api-takumi.mihoyo.com/event/bbs_sign_reward/info"
URL_SIGN = "https://api-takumi.mihoyo.com/event/bbs_sign_reward/sign"
HEADERS_REWARD = BaseGameSign.HEADERS_REWARD
HEADERS_REWARD["x-rpc-signgame"] = "hk4e"
HEADERS_REWARD["Origin"] = "https://act.mihoyo.com"
HEADERS_REWARD["Referer"] = "https://act.mihoyo.com/"


class HonkaiImpact3Sign(BaseGameSign):
Expand Down

0 comments on commit 039bf67

Please sign in to comment.