forked from platypush/platypush
Log the link we are trying to parse (useful for debugging parsing issues)
This commit is contained in:
parent
83db3f770c
commit
44e27e6c62
1 changed files with 2 additions and 0 deletions
|
@ -67,6 +67,8 @@ class RssUpdates(HttpRequest):
|
||||||
return session.query(func.max(FeedEntry.published)).filter_by(source_id=source_id).scalar()
|
return session.query(func.max(FeedEntry.published)).filter_by(source_id=source_id).scalar()
|
||||||
|
|
||||||
def _parse_entry_content(self, link):
|
def _parse_entry_content(self, link):
|
||||||
|
self.logger.info('Extracting content from {}'.format(link))
|
||||||
|
|
||||||
parser = get_plugin('http.webpage')
|
parser = get_plugin('http.webpage')
|
||||||
response = parser.simplify(link).output
|
response = parser.simplify(link).output
|
||||||
errors = parser.simplify(link).errors
|
errors = parser.simplify(link).errors
|
||||||
|
|
Loading…
Reference in a new issue