mirror of
https://github.com/catdevnull/preciazo.git
synced 2024-11-26 11:36:20 +00:00
no volver a scrapear cosas salteadas
This commit is contained in:
parent
087be6714c
commit
4f5994a2e1
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ export async function downloadList(path: string) {
|
|||
let res: ScrapResult = { type: "skipped" };
|
||||
for (let attempts = 0; attempts < 3; attempts++) {
|
||||
res = await scrap(urlS);
|
||||
if (res.type === "done") {
|
||||
if (res.type === "done" || res.type === "skipped") {
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue