Coder Social home page Coder Social logo

yuanshen_user_info's Introduction

YuanShen_User_Info

原神个人信息查询

写这玩意的原因的方便直接拆穿网图装x的sb

希望米哈游官方人员看到了也别和谐(

用法

  • 首先运行add_cookie.py, 根据引导添加cookie (或者直接编辑mys_cookies.db)

  • 添加cookie后:

​ 直接运行ys_UserInfoGet.py

​ 或者运行:

ys_UserInfoGet.py [uid1] [uid2] [uid3] ……

获取Cookie方法

  1. 浏览器无痕模式打开 https://bbs.mihoyo.com/ys/ ,登录账号
  2. 打开https://api-takumi.mihoyo.com/binding/api/getUserGameRolesByCookie,(这个在这里获取Cookie并不会触发Debugger,当然也可以忽略这个步骤)
  3. F12,打开开发者工具,找到并点击Network
  4. F5刷新页面,按下图复制 Cookie:

How to get mys cookie

当触发Debugger时,可尝试按Ctrl + F8关闭,然后再次刷新页面,最后复制 Cookie。也可以使用另一种方法:

  1. 复制代码 var cookie=document.cookie;var ask=confirm('Cookie:'+cookie+'\n\nDo you want to copy the cookie to the clipboard?');if(ask==true){copy(cookie);msg=cookie}else{msg='Cancel'}
  2. 浏览器无痕模式打开 https://bbs.mihoyo.com/ys/ ,登录账号
  3. F12,打开开发者工具,找到并点击Console
  4. 控制台粘贴代码并运行,获得类似Cookie:xxxxxx的输出信息
  5. xxxxxx部分即为所需复制的 Cookie,点击确定复制

感谢列表:

Steesha:帮忙拿到了DS的算法

yuanshen_user_info's People

Contributors

womsxd avatar mark9804 avatar chinosk6 avatar wudifeixue avatar thesadru avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.