no volver a scrapear cosas salteadas

This commit is contained in:
Cat /dev/Nulo 2024-01-04 16:42:37 -03:00
parent 087be6714c
commit 4f5994a2e1

View file

@ -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;
}
}