Home

Awesome

<p align="center"> <a href="https://github.com/KimigaiiWuyi/GenshinUID/"><img src="https://s2.loli.net/2022/01/31/kwCIl3cF1Z2GxnR.png" width="256" height="256" alt="GenshinUID"></a> </p> <h1 align = "center">GenshinUID 3.1</h1> <h4 align = "center">✨基于<a href="https://github.com/Ice-Cirno/HoshinoBot" target="_blank">HoshinoBot</a>/<a href="https://github.com/nonebot/nonebot2" target="_blank">NoneBot2</a>/<a href="https://bot.q.qq.com/wiki/#" target="_blank">官方频道</a>/<a href="https://github.com/JustUndertaker/adapter-ntchat" target="_blank">微信适配器</a>的原神多功能插件✨</h4> <div align = "center"> <a href="https://github.com/KimigaiiWuyi/GenshinUID/wiki" target="_blank">安装文档</a> &nbsp; · &nbsp; <a href="https://github.com/KimigaiiWuyi/GenshinUID/wiki/File5-%E3%80%8C%E6%8C%87%E4%BB%A4%E5%88%97%E8%A1%A8%E3%80%8D" target="_blank">指令列表</a> &nbsp; · &nbsp; <a href="https://github.com/KimigaiiWuyi/GenshinUID/issues/226">常见问题</a> </div> <p align="center"> <a><img src="https://s2.loli.net/2022/09/09/ZR4LTdNhpUmJHil.jpg"></a> </p>

丨我该如何安装该插件?

丨我该如何获取Cookies?#92@RemKeeper

该方法现在很可能失效,你应该从米游社网页的网络请求Header中拿到CK

该CK应该携带cookie_token_v2参数

如不确定,可以直接使用下面的获取Stoken方法获取,会连带CK一起获取

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'
}
  1. 复制上面全部代码,然后打开https://bbs.mihoyo.com/ys/
  2. 在页面上右键检查或者Ctrl+Shift+i
  3. 选择控制台(Console),粘贴,回车,在弹出的窗口点确认(点完自动复制)
  4. 然后在和机器人的私聊窗口,粘贴发送即可

警告:Cookies属于个人隐私,其效用相当于账号密码,请勿随意公开!

丨获取米游社Stoken(AutoMihoyoBBS)

var cookie = document.cookie;
var ask = confirm('Cookie:' + cookie + '\n\nDo you want to copy the cookie to the clipboard?');
if (ask == true) {
  copy("添加 stoken" + cookie);
  msg = cookie
} else {
  msg = 'Cancel'
}
  1. 复制上面全部代码,然后打开http://user.mihoyo.com/
  2. 在页面上右键检查或者Ctrl+Shift+i
  3. 选择控制台(Console),粘贴,回车,在弹出的窗口点确认(点完自动复制)
  4. 然后在和机器人的私聊窗口,粘贴发送即可

警告:Cookies属于个人隐私,其效用相当于账号密码,请勿随意公开!

丨感谢

丨其他