From 9f3f6c9caa66db00465903ab7beae355a2190352 Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Sat, 13 Apr 2019 08:17:45 +0000 Subject: [PATCH] Log URL being parsed --- platypush/plugins/http/webpage.py | 1 + 1 file changed, 1 insertion(+) diff --git a/platypush/plugins/http/webpage.py b/platypush/plugins/http/webpage.py index 5c1c1d15..c55c2c44 100644 --- a/platypush/plugins/http/webpage.py +++ b/platypush/plugins/http/webpage.py @@ -54,6 +54,7 @@ class HttpWebpagePlugin(Plugin): if not self.mercury_api_key: raise RuntimeError("mercury_api_key not set") + self.logger.info('Parsing URL {}'.format(url)) response = requests.get('https://mercury.postlight.com/parser', params={'url': url}, headers={'x-api-key': self.mercury_api_key})