Comments (14)
查询失败,尝试把日志打印出来是这样,大佬有无什么头绪
cookies格式错误 检查一下三个地方的cookies输入是否正确,有无单引号引住等格式问题,(我猜最大可能是你把cookies复制直接覆盖了原本的单引号,cookies要放在单引号内部
from genshinuid.
谢谢大佬 我这样一下就好了
from genshinuid.
期待继续完善,
所有角色这里都是F是指的啥
from genshinuid.
期待继续完善,
所有角色这里都是F是指的啥
full,满好感
from genshinuid.
这个位置显示的是QQ昵称有点怪啊,是不是应该显示旅行者的昵称
from genshinuid.
这个位置显示的是QQ昵称有点怪啊,是不是应该显示旅行者的昵称
api获取不到这个信息,我也想加2333
from genshinuid.
这个位置显示的是QQ昵称有点怪啊,是不是应该显示旅行者的昵称
有问题可以群里艾特我 我github回复怪累的
from genshinuid.
>> 本文件内容为 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.
剩下的就交给作者大大啦 ✿✿ヽ(°▽°)ノ✿
F有点丑 要不要考虑整个❤之类
from genshinuid.
>> 本文件内容为 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.
剩下的就交给作者大大啦 ✿✿ヽ(°▽°)ノ✿
F有点丑 要不要考虑整个❤之类
爱心加上去蛮奇怪的 我后续再优化一下
from genshinuid.
原来这是mysid,淦 是有点蛋疼 不实用 我琢磨下
from genshinuid.
实在不行的话 建议角色卡设计就不要显示昵称了,突出UID就行
from genshinuid.
查询失败,尝试把日志打印出来是这样,大佬有无什么头绪
楼主你好,我想问问这些错误日志在哪里找的?我出错了也想找出错日志
from genshinuid.
Related Issues (20)
- 资源文件下载报错 HOT 3
- 扫码登录报错 HOT 4
- gs开启体力后网页控制台推送管理中无相关数据 HOT 5
- 启动core报错 hoshinbot HOT 1
- 能否支持像nonebot那样更改命令前缀
- 使用更新gs因为requirements.txt存在无法更新
- 无法访问下载地址 HOT 1
- 武器介绍报错 HOT 1
- 提交个今日材料绘图失败的bug HOT 2
- 在 Nonebot2(DoDo适配器)上,GenshinUID 似乎不处理传递事件 HOT 2
- 对 nonebot_plugin_genshinuid 添加 Nonebot2 - Adapter Dodo 的支持
- 扫码登陆 cookies 获取失败
- 原神公告命令不可用 AttributeError: 'FreeTypeFont' object has no attribute 'getsize' & raise Exception('公告ID不正确') HOT 3
- 当前状态、查询等命令 API 错误 -999 且无报错信息 HOT 2
- DoDo 适配器下 mys设备登录 等私聊命令不会回复 HOT 2
- 当前状态派遣应显示角色名(或派遣地点)而不应为随机的 UUID HOT 1
- 查询命令的世界探索-枫丹部分超出其应该显示的范围,盖过了华丽宝箱的区域 HOT 3
- guid + nb2 - 使用DoDo适配器时,图片消息似乎会多发送一条空消息 HOT 1
- mys设备登录后,无法执行查询 HOT 3
- 下载错误SSL HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from genshinuid.