From d90c7e38864006d92c97037921e3ad798eba9fb6 Mon Sep 17 00:00:00 2001 From: SouthFox-D Date: Sun, 22 May 2022 15:32:42 +0800 Subject: [PATCH] update utils.py --- utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils.py b/utils.py index 5b30d88..12cfb09 100644 --- a/utils.py +++ b/utils.py @@ -134,7 +134,7 @@ def downloadImg(imgList): if img_url == "": continue # download img - ipfs_gateWay = ['https://cf-ipfs.com/ipfs/', 'https://ipfs.io/ipfs/', 'https://ipfs.fleek.co/ipfs/'] + ipfs_gateWay = ['https://cf-ipfs.com/ipfs/', 'https://ipfs.io/ipfs/', 'https://dweb.link/ipfs/'] if 'ipfs' in img_url: img_url = random.choice(ipfs_gateWay) + img_name