From d595688d558e4eca44848c1c13d05663d753cf61 Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Sun, 17 May 2020 16:52:37 +0200 Subject: [PATCH] Use the /total/country/ endpoint instead of /total/dayone/country/ --- platypush/plugins/covid19.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platypush/plugins/covid19.py b/platypush/plugins/covid19.py index 8689b5219..964cf2b7a 100644 --- a/platypush/plugins/covid19.py +++ b/platypush/plugins/covid19.py @@ -65,7 +65,7 @@ class Covid19Plugin(Plugin): countries = self._get_countries(country) ret = [] for country in countries: - ret += requests.get('{}/total/dayone/country/{}'.format(self.base_url, country)).json() + ret += requests.get('{}/total/country/{}'.format(self.base_url, country)).json() return ret