新增全部重签、优化原神猜语音、更改异步请求库

This commit is contained in:
CMHopeSunshine 2022-05-19 18:24:41 +08:00
parent 238ba221b3
commit e5f7282472

View File

@ -3,7 +3,6 @@ from typing import Dict, Optional, Any, Union, Tuple
from pathlib import Path from pathlib import Path
from io import BytesIO from io import BytesIO
from PIL import Image from PIL import Image
from retrying import retry
import httpx import httpx
@ -44,7 +43,6 @@ class aiorequests:
**kwargs) **kwargs)
@classmethod @classmethod
@retry(stop_max_attempt_number=3, wait_fixed=300)
async def get_img(cls, async def get_img(cls,
url: str, url: str,
*, *,