From c523cea9be07fc6a3d318ad59a0106a96bf141ab Mon Sep 17 00:00:00 2001 From: Nulo <86896666+catdevnull@users.noreply.github.com> Date: Wed, 27 Dec 2023 03:51:57 +0000 Subject: [PATCH] agregar todo para resilencia --- scraper/scrap.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/scraper/scrap.ts b/scraper/scrap.ts index bcf5aa9..2759c74 100644 --- a/scraper/scrap.ts +++ b/scraper/scrap.ts @@ -48,6 +48,7 @@ export async function parseWarc(path: string) { const warc = Bun.spawn(["zstd", "-do", "/dev/stdout", path], { stderr: "ignore", }).stdout; + // TODO: tirar error si falla zstd const parser = new WARCParser(warc); for await (const record of parser) {