diff options
author | cedricbonhomme <devnull@localhost> | 2011-06-20 19:42:07 +0200 |
---|---|---|
committer | cedricbonhomme <devnull@localhost> | 2011-06-20 19:42:07 +0200 |
commit | 9a204788aea7bab0fb1bcc040f2353a483cd5aaf (patch) | |
tree | d8fa0f9dce4359e88928ba7a31837c76c5bfd14d | |
parent | Added an incation for the user (feed edition). (diff) | |
download | newspipe-9a204788aea7bab0fb1bcc040f2353a483cd5aaf.tar.gz newspipe-9a204788aea7bab0fb1bcc040f2353a483cd5aaf.tar.bz2 newspipe-9a204788aea7bab0fb1bcc040f2353a483cd5aaf.zip |
Performance improvement (removed useless call to BeautifulSoup HTML sanitizer.
-rwxr-xr-x | pyAggr3g470r.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/pyAggr3g470r.py b/pyAggr3g470r.py index 5e378373..aa827d12 100755 --- a/pyAggr3g470r.py +++ b/pyAggr3g470r.py @@ -35,7 +35,6 @@ import calendar import threading from collections import Counter -from BeautifulSoup import BeautifulSoup import datetime import utils @@ -183,7 +182,6 @@ class Root: article_content = utils.clear_string(article.article_description) if article_content: description = " ".join(article_content.split(' ')[:55]) - description = str(BeautifulSoup(description)) else: description = "No description." # Title of the article |