Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Womsxd/MihoyoBBSTools
/ functions
Functions
188 in github.com/Womsxd/MihoyoBBSTools
⨍
Functions
188
◇
Types & classes
20
↓ 1 callers
Function
single
()
ql_main.py:27
↓ 1 callers
Function
task_run
任务运行入口
main.py:143
↓ 1 callers
Function
update_v14_update
(data: dict)
config.py:116
↓ 1 callers
Method
validate_config
验证配置的有效性
dacapo_main.py:78
Method
__init__
(self, config_path: str)
dacapo_main.py:43
Method
__init__
(self, info)
error.py:2
Method
__init__
(self, info)
error.py:10
Method
__init__
(self, info)
error.py:18
Method
__init__
(self, config_file="push.ini")
push.py:35
Method
__init__
初始化配置
server.py:15
Method
__init__
初始化命令处理器 Args: config: 服务器配置对象 detal_event: 详细信息显示事件 stop_event: 停止服务器事件
server.py:98
Method
__init__
(self, game_name, sign_url, coin_name, clear_cookie_func)
cloudgames.py:12
Method
__init__
(self, token)
cloudgames.py:65
Method
__init__
(self, token, lang)
os_cloudgames.py:9
Method
__init__
游戏签到 :param game_id: 游戏ID(米游社) :param game_mid: 游戏ID(配置文件) :param game_name: 游戏名称 :param act_id: 签到活动ID
gamecheckin.py:16
Method
__init__
(self)
gamecheckin.py:183
Method
__init__
(self)
gamecheckin.py:192
Method
__init__
(self)
gamecheckin.py:201
Method
__init__
(self)
gamecheckin.py:210
Method
__init__
(self)
gamecheckin.py:218
Method
__init__
(self)
mihoyobbs.py:21
Method
__str__
(self)
error.py:5
Method
__str__
(self)
error.py:13
Method
__str__
(self)
error.py:21
Method
bark
Bark推送
push.py:312
Function
bbs_captcha
(gt: str, challenge: str)
captcha.py:9
Function
clear_cookie
()
config.py:183
Function
clear_cookie_cloudgame_genshin
()
config.py:203
Function
clear_cookie_cloudgame_genshin_os
()
config.py:214
Function
clear_cookie_cloudgame_zzz
()
config.py:225
Function
clear_stoken
()
config.py:171
Function
control
控制函数,定期执行任务 Args: config: 服务器配置对象 stop_event: 停止事件
server.py:372
Function
cookie_get_hk4e_token
从 cookie 中获取 hk4e_token :return: hk4e_token
competition.py:13
Function
copy_config
()
config.py:71
Method
cqhttp
OneBot V11(CqHttp)协议推送
push.py:139
Method
dingrobot
钉钉群机器人推送
push.py:272
Function
disable_games
(region: str = "cn")
config.py:193
Method
discord
(self, status_id, push_message)
push.py:388
Method
feishubot
飞书机器人(WebHook)
push.py:298
Method
ftqq
Server酱推送,具体推送位置在server酱后台配置
push.py:86
Function
game_captcha
(gt: str, challenge: str)
captcha.py:4
Function
genshin
()
hoyo_checkin.py:91
Function
genshin_mizone
原神脉动联动活动
web_activity.py:9
Method
get_background_img_html
(background_url)
push.py:179
Method
get_background_img_info
(background_url)
push.py:184
Method
get_background_url
()
push.py:171
Method
get_color
()
push.py:391
Function
get_device_id
使用 cookie 通过 uuid v3 生成设备 ID。 :param cookie: cookie :return: 设备 ID。
tools.py:73
Function
get_ds
获取米游社的签名字符串,用于访问米游社API时的签名验证。 :param web: 是否为网页端请求。如果为 True,则使用手机网页端的 salt;如果为 False,则使用移动端的 salt。 :return: 返回一个字符串,格式为"时间戳,随机字符串,签名"。
tools.py:42
Function
get_ds2
获取米游社的签名字符串,用于访问米游社API时的签名验证。 :param query: 请求的查询参数 :param body: 请求的主体内容 :return: 返回一个字符串,格式为"时间戳,随机字符串,签名"。
tools.py:58
Function
get_item
获取签到的奖励信息 :param raw_data: 签到的奖励数据 :return: 「签奖励名称」x数量
tools.py:83
Function
get_login_ticket
()
login.py:37
Function
get_next_day_timestamp
获取明天凌晨的时间戳。 :return: 明天凌晨的时间戳
tools.py:95
Function
get_openssl_version
获取openssl版本号 :return: OpenSSL 的版本号。
tools.py:155
Function
get_stoken
(login_ticket: str, uid: str)
login.py:57
Function
get_useragent
获取用户代理 :param useragent: 自定义ua :return: 包含单个mihoyobbs的ua
tools.py:138
Method
gotify
gotify
push.py:325
Function
honkai3rd
()
hoyo_checkin.py:105
Function
honkai_sr
()
hoyo_checkin.py:98
Method
ifttt
ifttt
push.py:340
Function
load_config
(p_path=None)
config.py:126
Function
login
()
login.py:16
Function
main_handler
(event: dict, context: dict)
index.py:8
Function
main_handler_mulit
(event: dict, context: dict)
index.py:19
Method
pushdeer
PushDeer推送
push.py:258
Method
pushme
PushMe推送
push.py:112
Method
pushplus
PushPlus推送
push.py:98
Method
qmsg
qmsg
push.py:375
Function
run_task
根据配置执行网页活动任务
web_activity.py:69
Function
run_task
()
hoyo_checkin.py:125
Function
run_task
()
cloudgames.py:91
Function
run_task
()
competition.py:26
Function
run_task
()
os_cloudgames.py:47
Function
run_task
()
gamecheckin.py:247
Method
serverchan3
(self, status_id, push_message)
push.py:469
Method
smtp
SMTP 电子邮件推送
push.py:164
Function
stop_me
(_signo, _stack)
docker.py:12
Function
tears_of_themis
()
hoyo_checkin.py:112
Method
telegram
(self, status_id, push_message)
push.py:75
Function
tidy_cookie
整理cookie :param cookies: cookie :return: 整理后的cookie
tools.py:118
Function
time_conversion
将分钟转换为小时和分钟 :param minute: 分钟 :return: 小时和分钟
tools.py:106
Function
update_cookie_token
()
login.py:85
Method
webhook
WebHook
push.py:361
Method
wecom
企业微信推送 感谢linjie5493@github 提供的代码
push.py:213
Method
wecomrobot
企业微信机器人
push.py:241
Method
wintoast
(self, status_id, push_message)
push.py:433
Method
wxpusher
WxPusher
push.py:440
Function
zzz
()
hoyo_checkin.py:118
← previous
101–188 of 188, ranked by callers