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 31a2d674..bdb46238 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))
- article_title = str(BeautifulSoup(article.title))
+ description = str(BeautifulSoup(description, "html.parser"))
+ article_title = str(BeautifulSoup(article.title, "html.parser"))
try:
post_date = datetime(*article.published_parsed[:6])
except:
bgstack15