mirror of
https://github.com/suyiiyii/nonebot-bison.git
synced 2026-02-04 21:54:08 +08:00
fix bug
This commit is contained in:
parent
1af0100575
commit
f8c1a15885
@ -121,6 +121,9 @@ class MonsterSiren(NewMessage, NoTargetMixin):
|
|||||||
def get_date(self, _) -> None:
|
def get_date(self, _) -> None:
|
||||||
return None
|
return None
|
||||||
|
|
||||||
|
def get_category(self, _) -> Category:
|
||||||
|
return Category(3)
|
||||||
|
|
||||||
async def parse(self, raw_post: RawPost) -> Post:
|
async def parse(self, raw_post: RawPost) -> Post:
|
||||||
url = f'https://monster-siren.hypergryph.com/info/{raw_post["cid"]}'
|
url = f'https://monster-siren.hypergryph.com/info/{raw_post["cid"]}'
|
||||||
async with httpx.AsyncClient() as client:
|
async with httpx.AsyncClient() as client:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user