forked from platypush/platypush
Log URL being parsed
This commit is contained in:
parent
3dd47260d6
commit
9f3f6c9caa
|
@ -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})
|
||||
|
|
Loading…
Reference in a new issue