mirror of
https://github.com/suyiiyii/nonebot-bison.git
synced 2025-06-02 09:26:12 +08:00
fix bilibili get user info
This commit is contained in:
parent
6aa6fe293e
commit
1bd1bccc9b
@ -89,4 +89,4 @@ async def get_user_info(mid):
|
||||
res_data = json.loads(res.text)
|
||||
if res_data['code']:
|
||||
return None
|
||||
return res['data']['name']
|
||||
return res_data['data']['name']
|
||||
|
Loading…
x
Reference in New Issue
Block a user