mirror of
https://github.com/suyiiyii/nonebot-bison.git
synced 2025-06-02 09:26:12 +08:00
fix ak err
This commit is contained in:
parent
6683539ea9
commit
af74b032fc
@ -36,7 +36,7 @@ class Arknights(metaclass=Singleton):
|
||||
|
||||
async def parse(self, announce_url: str) -> Post:
|
||||
async with httpx.AsyncClient() as client:
|
||||
raw_html = client.get(announce_url)
|
||||
raw_html = await client.get(announce_url)
|
||||
soup = bs(raw_html, 'html.parser')
|
||||
pics = []
|
||||
if soup.find("div", class_="standerd-container"):
|
||||
|
Loading…
x
Reference in New Issue
Block a user