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

nonebot2部署后无法添加cookie #98

Closed
persudo opened this issue Jan 25, 2022 · 6 comments
Closed

nonebot2部署后无法添加cookie #98

persudo opened this issue Jan 25, 2022 · 6 comments

Comments

@persudo
Copy link

persudo commented Jan 25, 2022

image
nonebot2版本是a16,已经安装了requirements.txt中的依赖。
Windows和Linux环境下启动机器人都无法添加cookie,不管是自己复制的还是用
var cookie=document.cookie;var Str_Num = cookie.indexOf('_MHYUUID=');cookie ='添加 '+cookie.substring(Str_Num);var ask=confirm('Cookie:'+cookie+'\n\n按确认,然后粘贴发送给机器人');if(ask==true){copy(cookie);msg=cookie}else{msg='Cancel'}
这个命令复制的,都不能正常添加。
求大佬解答

@KimigaiiWuyi
Copy link
Owner

检查一下cookies内是否含有account_id = xxxxxx ; Cookie_token = xxxxxx这两条参数

@persudo
Copy link
Author

persudo commented Jan 25, 2022

image

@persudo
Copy link
Author

persudo commented Jan 25, 2022

Cookie_token第一个字母改成大写也无法添加,换了一个米游社账号之后也一样。

@KimigaiiWuyi
Copy link
Owner

Cookie_token第一个字母改成大写也无法添加,换了一个米游社账号之后也一样。

这个账号有玩过原神账号并登录手机米游社吗
不行的话可以加我Q444835641 我检查一下

@persudo
Copy link
Author

persudo commented Jan 25, 2022

都有,还是无法解决,其它机器人插件正常。

@persudo
Copy link
Author

persudo commented Jan 25, 2022

Cookie_token第一个字母改成大写也无法添加,换了一个米游社账号之后也一样。

这个账号有玩过原神账号并登录手机米游社吗
不行的话可以加我Q444835641 我检查一下

已经加了,麻烦大佬了

@MingxuanGame MingxuanGame mentioned this issue May 5, 2022
Closed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants