mirror of
https://github.com/KimigaiiWuyi/GenshinUID.git
synced 2025-05-12 06:55:58 +08:00
8 lines
194 B
Python
8 lines
194 B
Python
import aiohttp
|
|
|
|
|
|
async def download_image(url: str):
|
|
async with aiohttp.ClientSession() as session:
|
|
async with session.get(url) as response:
|
|
return await response.read()
|