mirror of
https://github.com/suyiiyii/nonebot-bison.git
synced 2025-09-03 06:22:25 +08:00
update arkninghts url
This commit is contained in:
parent
b8a30aa819
commit
9074336843
@ -28,7 +28,7 @@ class Arknights(NewMessage, NoTargetMixin):
|
|||||||
|
|
||||||
async def get_sub_list(self, _) -> list[RawPost]:
|
async def get_sub_list(self, _) -> list[RawPost]:
|
||||||
async with httpx.AsyncClient() as client:
|
async with httpx.AsyncClient() as client:
|
||||||
raw_data = await client.get('http://ak-fs.hypergryph.com/announce/IOS/announcement.meta.json')
|
raw_data = await client.get('https://ak-conf.hypergryph.com/config/prod/announce_meta/IOS/announcement.meta.json')
|
||||||
return json.loads(raw_data.text)['announceList']
|
return json.loads(raw_data.text)['announceList']
|
||||||
|
|
||||||
def get_id(self, post: RawPost) -> Any:
|
def get_id(self, post: RawPost) -> Any:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user