Use HTTPS URL.
This commit is contained in:
parent
f6f96b770d
commit
4609d45268
2 changed files with 2 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
||||||
PixelCanvas.io downloader
|
PixelCanvas.io downloader
|
||||||
=========================
|
=========================
|
||||||
|
|
||||||
This utility lets you download the http://pixelcanvas.io bitmap and export regions of it to .png files.
|
This utility lets you download the https://pixelcanvas.io bitmap and export regions of it to .png files.
|
||||||
|
|
||||||
## Requirements
|
## Requirements
|
||||||
|
|
||||||
|
|
|
@ -154,7 +154,7 @@ def insert_chunks(chunks, commit=True):
|
||||||
# API FUNCTIONS
|
# API FUNCTIONS
|
||||||
################################################################################
|
################################################################################
|
||||||
def url_for_bigchunk(bigchunk_x, bigchunk_y):
|
def url_for_bigchunk(bigchunk_x, bigchunk_y):
|
||||||
return f'http://pixelcanvas.io/api/bigchunk/{bigchunk_x}.{bigchunk_y}.bmp'
|
return f'https://pixelcanvas.io/api/bigchunk/{bigchunk_x}.{bigchunk_y}.bmp'
|
||||||
|
|
||||||
def request(url):
|
def request(url):
|
||||||
response = session.get(url)
|
response = session.get(url)
|
||||||
|
|
Loading…
Reference in a new issue