05-13 20:45:03 [ERROR] haruka_bot | 截取动态时发生错误:https://m.bilibili.com/dynamic/795185101734412321
Traceback (most recent call last):
File "C:\Users\User\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "C:\Users\User\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 86, in _run_code
exec(code, run_globals)
File "C:\Users\User\AppData\Local\Programs\Python\Python310\Scripts\hb.exe\__main__.py", line 7, in <module>
sys.exit(main())
File "C:\Users\User\AppData\Local\Programs\Python\Python310\lib\site-packages\click\core.py", line 1130, in __call__
return self.main(*args, **kwargs)
File "C:\Users\User\AppData\Local\Programs\Python\Python310\lib\site-packages\click\core.py", line 1055, in main
rv = self.invoke(ctx)
File "C:\Users\User\AppData\Local\Programs\Python\Python310\lib\site-packages\click\core.py", line 1657, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "C:\Users\User\AppData\Local\Programs\Python\Python310\lib\site-packages\click\core.py", line 1404, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "C:\Users\User\AppData\Local\Programs\Python\Python310\lib\site-packages\click\core.py", line 760, in invoke
return __callback(*args, **kwargs)
File "C:\Users\User\AppData\Local\Programs\Python\Python310\lib\site-packages\haruka_bot\cli\__init__.py", line 16, in run
run()
File "C:\Users\User\AppData\Local\Programs\Python\Python310\lib\site-packages\haruka_bot\cli\bot.py", line 35, in run
nonebot.run(app="haruka_bot.cli.bot:app")
File "C:\Users\User\AppData\Local\Programs\Python\Python310\lib\site-packages\nonebot\__init__.py", line 309, in run
get_driver().run(*args, **kwargs)
File "C:\Users\User\AppData\Local\Programs\Python\Python310\lib\site-packages\nonebot\drivers\fastapi.py", line 198, in run
uvicorn.run(
File "C:\Users\User\AppData\Local\Programs\Python\Python310\lib\site-packages\uvicorn\main.py", line 578, in run
server.run()
File "C:\Users\User\AppData\Local\Programs\Python\Python310\lib\site-packages\uvicorn\server.py", line 61, in run
return asyncio.run(self.serve(sockets=sockets))
File "C:\Users\User\AppData\Local\Programs\Python\Python310\lib\asyncio\runners.py", line 44, in run
return loop.run_until_complete(main)
File "C:\Users\User\AppData\Local\Programs\Python\Python310\lib\asyncio\base_events.py", line 636, in run_until_complete
self.run_forever()
File "C:\Users\User\AppData\Local\Programs\Python\Python310\lib\asyncio\windows_events.py", line 321, in run_forever
super().run_forever()
File "C:\Users\User\AppData\Local\Programs\Python\Python310\lib\asyncio\base_events.py", line 603, in run_forever
self._run_once()
File "C:\Users\User\AppData\Local\Programs\Python\Python310\lib\asyncio\base_events.py", line 1906, in _run_once
handle._run()
File "C:\Users\User\AppData\Local\Programs\Python\Python310\lib\asyncio\events.py", line 80, in _run
self._context.run(self._callback, *self._args)
File "C:\Users\User\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base_py3.py", line 30, in run_coroutine_job
retval = await job.func(*job.args, **job.kwargs)
File "C:\Users\User\AppData\Local\Programs\Python\Python310\lib\site-packages\haruka_bot\plugins\pusher\dynamic_pusher.py", line 74, in dy_sched
image = await get_dynamic_screenshot(dynamic_id)
File "C:\Users\User\AppData\Local\Programs\Python\Python310\lib\site-packages\haruka_bot\utils\browser.py", line 40, in get_dynamic_screenshot
return await get_dynamic_screenshot_mobile(dynamic_id)
> File "C:\Users\User\AppData\Local\Programs\Python\Python310\lib\site-packages\haruka_bot\utils\browser.py", line 102, in get_dynamic_screenshot_mobile
assert card
AssertionError
05-13 20:45:05 [INFO] haruka_bot | 检测到新动态(795185101734412321):FPS夜风(12814608)
05-13 20:45:08 [INFO] haruka_bot | 检测到新动态(795185101734412321):FPS夜风(12814608)
05-13 20:45:12 [INFO] haruka_bot | 检测到新动态(795185101734412321):FPS夜风(12814608)
05-13 20:45:15 [INFO] haruka_bot | 检测到新动态(795185101734412321):FPS夜风(12814608)
05-13 20:45:19 [INFO] haruka_bot | 检测到新动态(795185101734412321):FPS夜风(12814608)
运行环境
Win 10 22H2专业版
HarukaBot 版本
v1.5.4
go-cqhttp 版本
1.0.0-rc2
错误描述
RT 获取直播开播动态错误以及频繁刷相关的log
报错日志(如果有)