diff options
author | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2014-05-03 08:29:44 +0200 |
---|---|---|
committer | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2014-05-03 08:29:44 +0200 |
commit | 90e34c4a745c3193247b9bc27779aad60b77d9ba (patch) | |
tree | dde46f893f9e3cdcfe25ce667adf0c005ee3edd4 /pyaggr3g470r/crawler.py | |
parent | Updated requirements.txt. (diff) | |
download | newspipe-90e34c4a745c3193247b9bc27779aad60b77d9ba.tar.gz newspipe-90e34c4a745c3193247b9bc27779aad60b77d9ba.tar.bz2 newspipe-90e34c4a745c3193247b9bc27779aad60b77d9ba.zip |
keep the original title.
Diffstat (limited to 'pyaggr3g470r/crawler.py')
-rw-r--r-- | pyaggr3g470r/crawler.py | 3 |
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]) |