From a4bbd81488f8b90604ec5a726d58c95e9ec17cf5 Mon Sep 17 00:00:00 2001 From: acgnhik Date: Sun, 5 Nov 2023 14:39:03 +0800 Subject: [PATCH] chore: update api url --- src/blrec/bili/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/blrec/bili/api.py b/src/blrec/bili/api.py index 94eb76e..ec05ec9 100644 --- a/src/blrec/bili/api.py +++ b/src/blrec/bili/api.py @@ -285,7 +285,7 @@ class WebApi(BaseApi): return json_res['data']['timestamp'] async def get_user_info(self, uid: int) -> ResponseData: - path = '/x/space/acc/info' + path = '/x/space/wbi/acc/info' params = {'mid': uid} json_res = await self._get_json(self.base_api_urls, path, params=params) return json_res['data']