SK-415 / HarukaBot

将 B 站的动态和直播信息推送至 QQ,基于 NoneBot2 开发
https://haruka-bot.sk415.icu
GNU Affero General Public License v3.0
831 stars 109 forks source link

【错误回报】Harukabot动态无法截图或截图错误 #378

Closed culiqwq closed 1 year ago

culiqwq commented 1 year ago

运行环境

Windows Server 2012

HarukaBot 版本

v1.5.3post2

go-cqhttp 版本

1.0.1

错误描述

为了解决验证码问题,在代码中加入了: if await page.query_selector(".geetest_panel"): return None 但一段时间过后HarukaBot能够检测到动态发送,但截屏一直无法成功,只能一直刷新,无论改成pc还是mobile样式都频繁出现此问题,时间久后可能能够产生截屏,但截屏显示也未显示动态:

powershell截图

错误图片1 错误图片2

报错日志(如果有)

No response

culiqwq commented 1 year ago

两行代码有换行,格式正常,github这里显示好像有点问题

QNLanYang commented 1 year ago

我这两天也全是验证码

culiqwq commented 1 year ago

我这里将bot更新为1.5.4,然后修改pc的UA后恢复正常了

dxalyjz commented 1 year ago

我这里将bot更新为1.5.4,然后修改pc的UA后恢复正常了

怎么改的 能讲讲吗

1753449579 commented 1 year ago

我这里将bot更新为1.5.4,然后修改pc的UA后恢复正常了

怎么改的 能讲讲吗

366

wosiwq commented 1 year ago

合并到 #366