Start using HTTPS MapQuest API (stop HTTP) (#280)
This commit is contained in:
parent
ccd5ada7b2
commit
716dbf67e6
|
@ -177,7 +177,7 @@ def lookup(**kwargs):
|
||||||
path = '/geocoding/v1/address'
|
path = '/geocoding/v1/address'
|
||||||
if('lat' in kwargs and 'lon' in kwargs):
|
if('lat' in kwargs and 'lon' in kwargs):
|
||||||
path = '/nominatim/v1/reverse.php'
|
path = '/nominatim/v1/reverse.php'
|
||||||
url = 'http://open.mapquestapi.com%s?%s' % (
|
url = 'https://open.mapquestapi.com%s?%s' % (
|
||||||
path,
|
path,
|
||||||
urllib.parse.urlencode(params)
|
urllib.parse.urlencode(params)
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue