aboutsummaryrefslogtreecommitdiff
path: root/src/crawler
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2016-10-31 14:40:19 +0100
committerCédric Bonhomme <cedric@cedricbonhomme.org>2016-10-31 14:40:19 +0100
commitf118a152b838b9c6fb7ea8e6ba599844fc83dcb6 (patch)
treec4892a8af81377c259c419d9a963bd065cc74115 /src/crawler
parentUses a strem handler for the logging on Heroku. (diff)
downloadnewspipe-f118a152b838b9c6fb7ea8e6ba599844fc83dcb6.tar.gz
newspipe-f118a152b838b9c6fb7ea8e6ba599844fc83dcb6.tar.bz2
newspipe-f118a152b838b9c6fb7ea8e6ba599844fc83dcb6.zip
updated -> updated_date
Diffstat (limited to 'src/crawler')
-rw-r--r--src/crawler/classic_crawler.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crawler/classic_crawler.py b/src/crawler/classic_crawler.py
index f537cfd0..50f98258 100644
--- a/src/crawler/classic_crawler.py
+++ b/src/crawler/classic_crawler.py
@@ -135,7 +135,7 @@ async def insert_database(user, feed):
existing_article = existing_article_req.first()
new_updated_date = None
try:
- new_updated_date = dateutil.parser.parse(article['updated'])
+ new_updated_date = dateutil.parser.parse(article['updated_date'])
except Exception as e:
new_updated_date = existing_article.date
logger.exception("new_updated_date failed: " + str(e))
bgstack15