forked from platypush/platypush
Log URL being parsed
This commit is contained in:
parent
3dd47260d6
commit
9f3f6c9caa
1 changed files with 1 additions and 0 deletions
|
@ -54,6 +54,7 @@ class HttpWebpagePlugin(Plugin):
|
||||||
if not self.mercury_api_key:
|
if not self.mercury_api_key:
|
||||||
raise RuntimeError("mercury_api_key not set")
|
raise RuntimeError("mercury_api_key not set")
|
||||||
|
|
||||||
|
self.logger.info('Parsing URL {}'.format(url))
|
||||||
response = requests.get('https://mercury.postlight.com/parser',
|
response = requests.get('https://mercury.postlight.com/parser',
|
||||||
params={'url': url},
|
params={'url': url},
|
||||||
headers={'x-api-key': self.mercury_api_key})
|
headers={'x-api-key': self.mercury_api_key})
|
||||||
|
|
Loading…
Reference in a new issue