scrapear otras cosas aparte de dia

This commit is contained in:
Cat /dev/Nulo 2024-01-11 23:46:33 -03:00
parent 7b9533cde6
commit 34bd9aa07e

View file

@ -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 {