mirror of
https://github.com/SouthFox-D/SouthFox-D.github.io.git
synced 2024-11-25 08:26:51 +01:00
update utils.py
This commit is contained in:
parent
c7058fd592
commit
d90c7e3886
1 changed files with 1 additions and 1 deletions
2
utils.py
2
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
|
||||
|
||||
|
|
Loading…
Reference in a new issue