aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pyaggr3g470r/crawler.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/pyaggr3g470r/crawler.py b/pyaggr3g470r/crawler.py
index ec3dcef4..96b9a540 100644
--- a/pyaggr3g470r/crawler.py
+++ b/pyaggr3g470r/crawler.py
@@ -176,11 +176,10 @@ class FeedGetter(object):
description = ""
try:
description = BeautifulSoup(description, "lxml").decode()
- article_title = BeautifulSoup(article.title, "lxml").decode()
except Exception as e:
pyaggr3g470r_log.error("Problem when sanitizing the content of the article %s (%s)" %
(article_title, nice_url))
- article_title = article.title
+ article_title = article.title
try:
post_date = datetime(*article.published_parsed[:6])
bgstack15