aboutsummaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
Diffstat (limited to 'source')
-rwxr-xr-xsource/feedgetter.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/feedgetter.py b/source/feedgetter.py
index bdb46238..f3fa5c07 100755
--- a/source/feedgetter.py
+++ b/source/feedgetter.py
@@ -132,8 +132,8 @@ class FeedGetter(object):
description = article.description
except Exception:
description = ""
- description = str(BeautifulSoup(description, "html.parser"))
- article_title = str(BeautifulSoup(article.title, "html.parser"))
+ description = BeautifulSoup(description, "html.parser").decode()
+ article_title = BeautifulSoup(article.title, "html.parser").decode()
try:
post_date = datetime(*article.published_parsed[:6])
except:
bgstack15