mirror of
https://github.com/catdevnull/preciazo.git
synced 2024-11-22 14:16:19 +00:00
scrapear otras cosas aparte de dia
This commit is contained in:
parent
7b9533cde6
commit
34bd9aa07e
1 changed files with 1 additions and 3 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue