Changed minio rest endpoint to aws bucket
This commit is contained in:
parent
0ceda9e53a
commit
f104795c17
@ -1,7 +1,7 @@
|
|||||||
import requests
|
import requests
|
||||||
import shutil
|
import shutil
|
||||||
|
|
||||||
host = 'https://minio.eidelpes.info/aic-g4t2/'
|
host = 'https://aic-fun-bucket-2020.s3.amazonaws.com/'
|
||||||
remote_filename = 'testing2.jpg'
|
remote_filename = 'testing2.jpg'
|
||||||
|
|
||||||
url = host + remote_filename
|
url = host + remote_filename
|
||||||
@ -28,3 +28,4 @@ if r.status_code == 200:
|
|||||||
else:
|
else:
|
||||||
print("Something went wrong while downloading the file!")
|
print("Something went wrong while downloading the file!")
|
||||||
exit()
|
exit()
|
||||||
|
|
||||||
Loading…
x
Reference in New Issue
Block a user