Start using HTTPS MapQuest API (stop HTTP) (#280)

This commit is contained in:
Qasim K 2018-09-03 18:19:03 +01:00 committed by Jaisen Mathai
parent ccd5ada7b2
commit 716dbf67e6
1 changed files with 1 additions and 1 deletions

View File

@ -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)
) )