mirror of
https://github.com/catdevnull/preciazo.git
synced 2024-11-26 03:26: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() {
|
export async function auto() {
|
||||||
const a = new Auto();
|
const a = new Auto();
|
||||||
await Promise.all(
|
await Promise.all(supermercados.map((supr) => a.downloadList(supr)));
|
||||||
supermercados.filter((x) => x === "Dia").map((supr) => a.downloadList(supr))
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
class Auto {
|
class Auto {
|
||||||
|
|
Loading…
Reference in a new issue