mirror of
https://github.com/R0m1k3/Priceflow.git
synced 2026-10-11 17:29:14 +02:00
feat: implement scheduled catalog scraping service
This commit is contained in:
1 parent
1bdeb272d6
commit
debc1a973f
1 file changed
+1
-1
@@ -23,7 +23,7 @@ async def scheduled_scrape_job():
|
||||
|
||||
db = SessionLocal()
|
||||
try:
|
||||
logs = await scrape_all_ense ignes(db)
|
||||
logs = await scrape_all_enseignes(db)
|
||||
|
||||
total_new = sum(log.catalogues_nouveaux for log in logs)
|
||||
total_found = sum(log.catalogues_trouves for log in logs)
|
||||
|
||||
Reference in new issue
Block a user