From 34bd9aa07e1cd46d09db50d6e713ebc0a99c9975 Mon Sep 17 00:00:00 2001 From: Nulo Date: Thu, 11 Jan 2024 23:46:33 -0300 Subject: [PATCH] scrapear otras cosas aparte de dia --- scraper/auto.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/scraper/auto.ts b/scraper/auto.ts index 0acf103..764fa34 100644 --- a/scraper/auto.ts +++ b/scraper/auto.ts @@ -18,9 +18,7 @@ const scrapQueue = new PQueue({ concurrency: 1 }); export async function auto() { const a = new Auto(); - await Promise.all( - supermercados.filter((x) => x === "Dia").map((supr) => a.downloadList(supr)) - ); + await Promise.all(supermercados.map((supr) => a.downloadList(supr))); } class Auto {