nga-python: use https when downloading an image
FossilOrigin-Name: fd6b6b6a570c40bc025df1cecc465ae80497f100173e67276c21cbdedcb9e1f3
This commit is contained in:
parent
3dbab4061a
commit
27289092f8
1 changed files with 1 additions and 1 deletions
|
@ -563,7 +563,7 @@ class Retro:
|
|||
import requests
|
||||
import shutil
|
||||
|
||||
data = requests.get("http://forth.works/ngaImage", stream=True)
|
||||
data = requests.get("https://forthworks.com/retro/ngaImage", stream=True)
|
||||
with open("ngaImage", "wb") as f:
|
||||
data.raw.decode_content = True
|
||||
shutil.copyfileobj(data.raw, f)
|
||||
|
|
Loading…
Reference in a new issue