aboutsummaryrefslogtreecommitdiff
path: root/src/crawler/classic_crawler.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/crawler/classic_crawler.py')
-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