Update maimaidx_api_data.py
This commit is contained in:
parent
64b1ef8693
commit
af7e204c7d
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ async def update_assets():
|
|||
try:
|
||||
cover_url = f"https://www.diving-fish.com/covers/{get_cover_len5_id(sid)}.png"
|
||||
cover_path = f"{cover_dir}{get_cover_len5_id(sid)}.png"
|
||||
download_cover = await download_to_cache(cover_url, status_code=200)
|
||||
download_cover = await download_to_cache(cover_url, status_code=200, attempt=1, logging_err_resp=False)
|
||||
if download_cover:
|
||||
shutil.move(download_cover, cover_path)
|
||||
except ValueError as e:
|
||||
|
|
Reference in a new issue