...
 
Commits (3)
......@@ -37,7 +37,7 @@ class IpapiModule(Module, CapGeolocIp):
BROWSER = Browser
def get_location(self, ipaddr):
res = self.browser.location('http://ip-api.com/json/%s' % ipaddr.encode('utf-8'))
res = self.browser.location(u'http://ip-api.com/json/%s' % ipaddr)
jres = json.loads(res.text)
if "status" in jres and jres["status"] == "fail":
......
......@@ -61,7 +61,7 @@ class WeatherPage(HTMLPage):
if base_date.day > actual_day_number:
base_date = base_date.replace(
month=(
(base_date.month + 1) % 12
(base_date.month % 12) + 1
)
)
base_date = base_date.replace(day=actual_day_number)
......
......@@ -88,6 +88,7 @@ imgur
indeed
infomaniak
ing
ipapi
ipinfodb
jcvelaux
jirafeau
......@@ -119,6 +120,7 @@ n26
nalo
nectarine
nef
newsfeed
nova
oney
onlinenet
......