agregar todo para resilencia

This commit is contained in:
Nulo 2023-12-27 03:51:57 +00:00
parent 6c0c2e89f7
commit c523cea9be

View file

@ -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) {