aboutsummaryrefslogtreecommitdiff
path: root/src/crawler/default_crawler.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/crawler/default_crawler.py')
-rw-r--r--src/crawler/default_crawler.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/crawler/default_crawler.py b/src/crawler/default_crawler.py
index fe67614f..79a746b5 100644
--- a/src/crawler/default_crawler.py
+++ b/src/crawler/default_crawler.py
@@ -135,8 +135,10 @@ async def insert_articles(queue, nḅ_producers=1):
new_article = await construct_article(article, feed)
try:
- existing_article_req = art_contr.read(feed_id=feed.id,
- entry_id=extract_id(article))
+ existing_article_req = art_contr.read(
+ user_id=user.id,
+ feed_id=feed.id,
+ entry_id=extract_id(article))
except Exception as e:
logger.exception("existing_article_req: " + str(e))
continue
bgstack15