diff --git a/scraper/scrap.ts b/scraper/scrap.ts index 582bc12..55d94d2 100644 --- a/scraper/scrap.ts +++ b/scraper/scrap.ts @@ -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; } }