This commit is contained in:
felinae98 2021-11-01 14:38:18 +08:00
parent 1af0100575
commit f8c1a15885
No known key found for this signature in database
GPG Key ID: 00C8B010587FF610

View File

@ -121,6 +121,9 @@ class MonsterSiren(NewMessage, NoTargetMixin):
def get_date(self, _) -> None:
return None
def get_category(self, _) -> Category:
return Category(3)
async def parse(self, raw_post: RawPost) -> Post:
url = f'https://monster-siren.hypergryph.com/info/{raw_post["cid"]}'
async with httpx.AsyncClient() as client: