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 {