Decoding title from RSS feeds

This commit is contained in:
Fabio Manganiello 2018-10-19 23:48:04 +02:00
parent 4f3c7f715f
commit 2fd7ba003b

View file

@ -132,7 +132,7 @@ class RssUpdates(HttpRequest):
if latest_update is None \
or entry_timestamp > latest_update:
self.logger.info('Processed new item from RSS feed <{}>: "{}"'
.format(self.url, entry.title))
.format(self.url, entry.title.decode('utf-8')))
entry.summary = entry.summary if hasattr(entry, 'summary') else None