From 716dbf67e6d3e62389ec7d81a59c29e1e26a261c Mon Sep 17 00:00:00 2001 From: Qasim K Date: Mon, 3 Sep 2018 18:19:03 +0100 Subject: [PATCH] Start using HTTPS MapQuest API (stop HTTP) (#280) --- elodie/geolocation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/elodie/geolocation.py b/elodie/geolocation.py index 5d21739..2af9188 100644 --- a/elodie/geolocation.py +++ b/elodie/geolocation.py @@ -177,7 +177,7 @@ def lookup(**kwargs): path = '/geocoding/v1/address' if('lat' in kwargs and 'lon' in kwargs): path = '/nominatim/v1/reverse.php' - url = 'http://open.mapquestapi.com%s?%s' % ( + url = 'https://open.mapquestapi.com%s?%s' % ( path, urllib.parse.urlencode(params) )