moyu 修复接口

This commit is contained in:
xtaodada 2022-06-14 10:09:56 +08:00
parent 4280ca3112
commit 8d922a4d91
Signed by: xtaodada
GPG Key ID: 4CBB3F4FA8C85659
2 changed files with 2 additions and 2 deletions

View File

@ -32,7 +32,7 @@
},
{
"name": "moyu",
"version": "1.001",
"version": "1.01",
"section": "chat",
"maintainer": "xtaodada",
"size": "3.0 kb",

View File

@ -16,7 +16,7 @@ moyu_sub = Sub("moyu")
async def get_calendar() -> None:
resp = await client.get("https://api.j4u.ink/proxy/remote/moyu.json")
resp = await client.get("https://api.j4u.ink/v1/store/other/proxy/remote/moyu.json")
if resp.is_error:
raise ValueError(f"摸鱼日历获取失败,错误码:{resp.status_code}")
content = resp.json()