diff --git a/platypush/plugins/http/webpage.py b/platypush/plugins/http/webpage.py index 65c86e269..d4abca56d 100644 --- a/platypush/plugins/http/webpage.py +++ b/platypush/plugins/http/webpage.py @@ -61,7 +61,7 @@ class HttpWebpagePlugin(Plugin): if not response or not response.ok: raise RuntimeError("Unable to parse content for {}: {}".format(url, response.reason)) - self.logger.info('Got response from Mercury API: {}'.format(response.text)) + self.logger.info('Got response from Mercury API: {}'.format(response.json())) title = response.json().get('title', 'No_title_{}'.format(int(time.time()))) content = '

{title}

{content}'.\ format(title=title, content=response.json()['content'],