Update maimaidx_api_data.py
This commit is contained in:
parent
c8b7336890
commit
64b1ef8693
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)
|
||||
download_cover = await download_to_cache(cover_url, status_code=200)
|
||||
if download_cover:
|
||||
shutil.move(download_cover, cover_path)
|
||||
except ValueError as e:
|
||||
|
|
Reference in a new issue