mirror of
https://github.com/Murasame-Dev/McStatus-Img.git
synced 2025-12-16 05:07:57 +00:00
add some custom settings.
This commit is contained in:
parent
fd80315876
commit
928e333e6b
2 changed files with 25 additions and 12 deletions
|
|
@ -1,9 +1,6 @@
|
|||
from .get_background import download_image_with_httpx_auto_redirect
|
||||
import asyncio
|
||||
|
||||
# BACKGROUND_URL = "https://www.loliapi.com/acg/"
|
||||
# DEFAULT_ICON = "./minecraft-creeper-face.png"
|
||||
|
||||
async def get_icon_image(url: str):
|
||||
if url.startswith("http"):
|
||||
icon_data = await download_image_with_httpx_auto_redirect(url)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue