mirror of
https://github.com/Refound-445/nonebot-plugin-nailongremove.git
synced 2025-09-27 02:49:17 +08:00
Update frame_source.py
This commit is contained in:
parent
b6b204e025
commit
002f84f768
@ -152,7 +152,7 @@ def source_extractor(t: Type[TS]):
|
||||
|
||||
|
||||
async def image_fetch(url: str) -> Optional[bytes]:
|
||||
async with httpx.AsyncClient(verify=False) as client:
|
||||
async with httpx.AsyncClient() as client:
|
||||
response = await client.get(url)
|
||||
if response.status_code == 200:
|
||||
image_data = response.content
|
||||
|
Loading…
Reference in New Issue
Block a user