05-13 20:24:38 [ERROR] haruka_bot | 截取动态时发生错误:https://m.bilibili.com/dynamic/795171679957418041
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:25:27 [WARNING] apscheduler | Run time of job "live_sched (trigger: interval[0:00:10], next run at: 2023-05-13 20:25:36 CST)" was missed by 0:00:01.150161
05-13 20:25:27 [SUCCESS] nonebot | OneBot V11 75675729 | [notice.group_upload]: {'time': 1683980719, 'self_id': 75675729, 'post_type': 'notice', 'notice_type': 'group_upload', 'user_id': 706934620, 'group_id': 700605264, 'file': {'id': '/998064b4-602d-4142-abf7-e71d9a9b3d63', 'name': '【5_24発売】HIMEHINA 3rdALBUM『提灯暗航』【XFD完全版】_1080P.mp4', 'size': 540452015, 'busid': 104, 'url': 'http://211.93.200.197/ftn_handler/802b5c02f81e0d3b7fcea593f8e03be09c1c4cd4e420206de67c19f0e1c005c2c86f5cf98e46a6357a23a15653f97b6d68991d2fb2e75f2d9d35f8d40d0b5a4e/?fname=2f39393830363462342d363032642d343134322d616266372d653731643961396233643633'}}
05-13 20:25:27 [SUCCESS] nonebot | OneBot V11 75675729 | [message.group.normal]: Message -723304519 from 1307439284@[群:858058757] '[image:file=0eec8c576ade37d05a6018fec52e4322.image,subType=1,url=https://gchat.qpic.cn/gchatpic_new/1307439284/858058757-3033201188-...]'
05-13 20:25:27 [SUCCESS] nonebot | OneBot V11 11169022 | [notice.group_upload]: {'time': 1683980719, 'self_id': 11169022, 'post_type': 'notice', 'notice_type': 'group_upload', 'user_id': 706934620, 'group_id': 700605264, 'file': {'id': '/998064b4-602d-4142-abf7-e71d9a9b3d63', 'name': '【5_24発売】HIMEHINA 3rdALBUM『提灯暗航』【XFD完全版】_1080P.mp4', 'size': 540452015, 'busid': 104, 'url': 'http://211.93.200.147/ftn_handler/242ac38650b545c8cb385f61d9483615d044d8c895a460ec5df988ef1110da2bcf1f5af32a66f0370d36c643895d09281d4c1b9cb3a6f4b77b7bbacedf2d3d90/?fname=2f39393830363462342d363032642d343134322d616266372d653731643961396233643633'}}
05-13 20:25:27 [INFO] nonebot | Event will be handled by Matcher(type='notice', module=haruka_bot.plugins.auto_delete)
运行环境
Win10专业版
HarukaBot 版本
v1.5.4
go-cqhttp 版本
1.0.0-rc2
错误描述
动态推送出现验证码![75675729-2921355419-068F5396769CEF0D51969DB7E6E40576](https://github.com/SK-415/HarukaBot/assets/96232844/ddd78fea-eb73-483c-8222-9946df7ce626)
报错日志(如果有)