From 44e27e6c624e8396620bc54d15a96ac1b5b6952b Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Thu, 25 Jul 2019 18:23:28 +0200 Subject: [PATCH] Log the link we are trying to parse (useful for debugging parsing issues) --- platypush/backend/http/request/rss/__init__.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/platypush/backend/http/request/rss/__init__.py b/platypush/backend/http/request/rss/__init__.py index 354eed1332..209e43a2a3 100644 --- a/platypush/backend/http/request/rss/__init__.py +++ b/platypush/backend/http/request/rss/__init__.py @@ -67,6 +67,8 @@ class RssUpdates(HttpRequest): return session.query(func.max(FeedEntry.published)).filter_by(source_id=source_id).scalar() def _parse_entry_content(self, link): + self.logger.info('Extracting content from {}'.format(link)) + parser = get_plugin('http.webpage') response = parser.simplify(link).output errors = parser.simplify(link).errors