Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

绝区零的签到类 #332

Closed
Yinhaoran1128 opened this issue Jul 7, 2024 · 4 comments · Fixed by #338
Closed

绝区零的签到类 #332

Yinhaoran1128 opened this issue Jul 7, 2024 · 4 comments · Fixed by #338
Labels
mihoyo API Issues about mihoyo API

Comments

@Yinhaoran1128
Copy link
Contributor

Yinhaoran1128 commented Jul 7, 2024

    class ZenlessZoneZeroSign(BaseGameSign):
    """
    绝区零 游戏签到
    """
    name = "绝区零"
    act_id = "e202406242138391"
    game_id = 8
    url_reward = "https://act-nap-api.mihoyo.com/event/luna/zzz/home"
    url_info = "https://act-nap-api.mihoyo.com/event/luna/zzz/info"
    url_sign = "https://act-nap-api.mihoyo.com/event/luna/zzz/sign"
    headers_general = BaseGameSign.headers_general.copy()
    headers_reward = BaseGameSign.headers_reward.copy()
    for headers in headers_general, headers_reward:
        headers["x-rpc-signgame"] = "zzz"
        headers["Origin"] = "https://act.mihoyo.com"
        headers["Referer"] = "https://act.mihoyo.com/"
        headers["Host"] = "act-nap-api.mihoyo.com"
老米又改api了
@Ljzd-PRO Ljzd-PRO added the mihoyo API Issues about mihoyo API label Jul 7, 2024
@Yinhaoran1128
Copy link
Contributor Author

微博绝区零的fid=100808f303ad099b7730ad1f96ff49726d3ff3
(用于weibo.py的WeiboCode.container_id

@Ljzd-PRO
Copy link
Owner

可以创建个pr,到时候合并。
https://github.com/Ljzd-PRO/nonebot-plugin-mystool/pulls

@dontdot
Copy link
Contributor

dontdot commented Jul 10, 2024

weibo相关的我提交吧,正好对超话推送和签到的进行了调整

@Yinhaoran1128
Copy link
Contributor Author

Yinhaoran1128 commented Jul 10, 2024

可以创建个pr,到时候合并。 https://github.com/Ljzd-PRO/nonebot-plugin-mystool/pulls

#336 提交了

@Ljzd-PRO Ljzd-PRO linked a pull request Jul 11, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
mihoyo API Issues about mihoyo API
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants