mirror of
https://github.com/catdevnull/preciazo.git
synced 2025-02-20 00:46:27 +00:00
esperar mas
This commit is contained in:
parent
525510a8dd
commit
1ce87c4fce
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ export async function downloadList(path: string) {
|
||||||
list,
|
list,
|
||||||
async (urlS) => {
|
async (urlS) => {
|
||||||
let res: ScrapResult = { type: "skipped" };
|
let res: ScrapResult = { type: "skipped" };
|
||||||
for (let attempts = 0; attempts < 3; attempts++) {
|
for (let attempts = 0; attempts < 6; attempts++) {
|
||||||
if (attempts !== 0) await wait(1500);
|
if (attempts !== 0) await wait(1500);
|
||||||
res = await scrap(urlS);
|
res = await scrap(urlS);
|
||||||
if (res.type === "done" || res.type === "skipped") {
|
if (res.type === "done" || res.type === "skipped") {
|
||||||
|
|
Loading…
Reference in a new issue