Giter VIP home page Giter VIP logo

Comments (14)

KimigaiiWuyi avatar KimigaiiWuyi commented on June 18, 2024

image

查询失败,尝试把日志打印出来是这样,大佬有无什么头绪

cookies格式错误 检查一下三个地方的cookies输入是否正确,有无单引号引住等格式问题,(我猜最大可能是你把cookies复制直接覆盖了原本的单引号,cookies要放在单引号内部

from genshinuid.

NepPure avatar NepPure commented on June 18, 2024

image

谢谢大佬 我这样一下就好了

from genshinuid.

NepPure avatar NepPure commented on June 18, 2024

期待继续完善,

image

所有角色这里都是F是指的啥

from genshinuid.

KimigaiiWuyi avatar KimigaiiWuyi commented on June 18, 2024

期待继续完善,

image

所有角色这里都是F是指的啥

full,满好感

from genshinuid.

NepPure avatar NepPure commented on June 18, 2024

image

这个位置显示的是QQ昵称有点怪啊,是不是应该显示旅行者的昵称

from genshinuid.

KimigaiiWuyi avatar KimigaiiWuyi commented on June 18, 2024

image

这个位置显示的是QQ昵称有点怪啊,是不是应该显示旅行者的昵称

api获取不到这个信息,我也想加2333

from genshinuid.

KimigaiiWuyi avatar KimigaiiWuyi commented on June 18, 2024

image

这个位置显示的是QQ昵称有点怪啊,是不是应该显示旅行者的昵称

有问题可以群里艾特我 我github回复怪累的

from genshinuid.

NepPure avatar NepPure commented on June 18, 2024
>> 本文件内容为 https://api-takumi.mihoyo.com/game_record/card/wapi/getGameRecordCard?uid=160476586 的请求抓包详情,供您分析和定位问题。

1. 请求内容 Request:

GET /game_record/card/wapi/getGameRecordCard?uid=160476586 HTTP/1.1
Host: api-takumi.mihoyo.com
x-rpc-client_type: 5
Accept-Encoding: gzip, deflate, br
Accept-Language: zh-cn
Accept: application/json, text/plain, */*
Origin: https://webstatic.mihoyo.com
User-Agent: Mozilla/5.0 (iPhone; CPU iPhone OS 14_6 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) miHoYoBBS/2.10.0
Connection: keep-alive
x-rpc-app_version: 2.10.0
Referer: https://webstatic.mihoyo.com/app/community-game-records/?bbs_auth_required=true&v=100&game_id=2&bbs_presentation_style=fullscreen&gid=2&user_id=160476586&uid=160476586
Cookie: *
DS: *



2. 响应内容 Response:

HTTP/1.1 200 OK
Date: Wed, 04 Aug 2021 07:49:57 GMT
Content-Type: application/json
Content-Length: 854
Connection: keep-alive
Access-Control-Allow-Credentials: true
Access-Control-Allow-Headers: Origin,X-Requested-With,Content-Type,Accept,gameName,Channel,DS
Access-Control-Allow-Methods: GET,POST,OPTIONS
Access-Control-Allow-Origin: https://webstatic.mihoyo.com
Set-Cookie: *
Set-Cookie: *
Vary: Accept-Encoding
X-Powered-By: takumi
X-Trace-Id: 7528e54cfcb5b27b:7528e54cfcb5b27b:0:1

{"retcode":0,"message":"OK","data":{"list":[{"has_role":true,"game_id":2,"game_role_id":"101407402","nickname":"皮纳特","region":"cn_gf01","level":56,"background_image":"https://upload-bbs.mihoyo.com/upload/2020/09/22/0762ab7cc42ac5a760bb4d1ea87b2c42_1236712390449986860.png","is_public":true,"data":[{"name":"活跃天数","type":1,"value":"312"},{"name":"获得角色数","type":1,"value":"29"},{"name":"成就达成数","type":1,"value":"269"},{"name":"深境螺旋","type":1,"value":"12-3"}],"region_name":"天空岛","url":"https://webstatic.mihoyo.com/app/community-game-records/?bbs_presentation_style=fullscreen\u0026bbs_auth_required=true\u0026v=100\u0026gid=2\u0026user_id=160476586","data_switches":[{"switch_id":1,"is_public":true,"switch_name":"个人主页卡片"},{"switch_id":2,"is_public":true,"switch_name":"角色详情数据"}]}]}}

这个信息在gamecard接口里面

from genshinuid.

NepPure avatar NepPure commented on June 18, 2024

剩下的就交给作者大大啦 ✿✿ヽ(°▽°)ノ✿

F有点丑 要不要考虑整个❤之类

from genshinuid.

KimigaiiWuyi avatar KimigaiiWuyi commented on June 18, 2024
>> 本文件内容为 https://api-takumi.mihoyo.com/game_record/card/wapi/getGameRecordCard?uid=160476586 的请求抓包详情,供您分析和定位问题。

1. 请求内容 Request:

GET /game_record/card/wapi/getGameRecordCard?uid=160476586 HTTP/1.1
Host: api-takumi.mihoyo.com
x-rpc-client_type: 5
Accept-Encoding: gzip, deflate, br
Accept-Language: zh-cn
Accept: application/json, text/plain, */*
Origin: https://webstatic.mihoyo.com
User-Agent: Mozilla/5.0 (iPhone; CPU iPhone OS 14_6 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) miHoYoBBS/2.10.0
Connection: keep-alive
x-rpc-app_version: 2.10.0
Referer: https://webstatic.mihoyo.com/app/community-game-records/?bbs_auth_required=true&v=100&game_id=2&bbs_presentation_style=fullscreen&gid=2&user_id=160476586&uid=160476586
Cookie: *
DS: *



2. 响应内容 Response:

HTTP/1.1 200 OK
Date: Wed, 04 Aug 2021 07:49:57 GMT
Content-Type: application/json
Content-Length: 854
Connection: keep-alive
Access-Control-Allow-Credentials: true
Access-Control-Allow-Headers: Origin,X-Requested-With,Content-Type,Accept,gameName,Channel,DS
Access-Control-Allow-Methods: GET,POST,OPTIONS
Access-Control-Allow-Origin: https://webstatic.mihoyo.com
Set-Cookie: *
Set-Cookie: *
Vary: Accept-Encoding
X-Powered-By: takumi
X-Trace-Id: 7528e54cfcb5b27b:7528e54cfcb5b27b:0:1

{"retcode":0,"message":"OK","data":{"list":[{"has_role":true,"game_id":2,"game_role_id":"101407402","nickname":"皮纳特","region":"cn_gf01","level":56,"background_image":"https://upload-bbs.mihoyo.com/upload/2020/09/22/0762ab7cc42ac5a760bb4d1ea87b2c42_1236712390449986860.png","is_public":true,"data":[{"name":"活跃天数","type":1,"value":"312"},{"name":"获得角色数","type":1,"value":"29"},{"name":"成就达成数","type":1,"value":"269"},{"name":"深境螺旋","type":1,"value":"12-3"}],"region_name":"天空岛","url":"https://webstatic.mihoyo.com/app/community-game-records/?bbs_presentation_style=fullscreen\u0026bbs_auth_required=true\u0026v=100\u0026gid=2\u0026user_id=160476586","data_switches":[{"switch_id":1,"is_public":true,"switch_name":"个人主页卡片"},{"switch_id":2,"is_public":true,"switch_name":"角色详情数据"}]}]}}

这个信息在gamecard接口里面

这个需要mys的id,实际查询起来感觉倒是比较麻烦 好多人不会去记米游社的id吧2333如果需求很高的话 倒也是可以做

from genshinuid.

KimigaiiWuyi avatar KimigaiiWuyi commented on June 18, 2024

剩下的就交给作者大大啦 ✿✿ヽ(°▽°)ノ✿

F有点丑 要不要考虑整个❤之类
爱心加上去蛮奇怪的 我后续再优化一下

from genshinuid.

NepPure avatar NepPure commented on June 18, 2024

原来这是mysid,淦 是有点蛋疼 不实用 我琢磨下

from genshinuid.

NepPure avatar NepPure commented on June 18, 2024

实在不行的话 建议角色卡设计就不要显示昵称了,突出UID就行

from genshinuid.

vaqua avatar vaqua commented on June 18, 2024

image

查询失败,尝试把日志打印出来是这样,大佬有无什么头绪

楼主你好,我想问问这些错误日志在哪里找的?我出错了也想找出错日志

from genshinuid.

Related Issues (20)

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.