mirror of
https://github.com/catdevnull/preciazo.git
synced 2024-11-26 11:36:20 +00:00
agregar todo para resilencia
This commit is contained in:
parent
6c0c2e89f7
commit
c523cea9be
1 changed files with 1 additions and 0 deletions
|
@ -48,6 +48,7 @@ export async function parseWarc(path: string) {
|
||||||
const warc = Bun.spawn(["zstd", "-do", "/dev/stdout", path], {
|
const warc = Bun.spawn(["zstd", "-do", "/dev/stdout", path], {
|
||||||
stderr: "ignore",
|
stderr: "ignore",
|
||||||
}).stdout;
|
}).stdout;
|
||||||
|
// TODO: tirar error si falla zstd
|
||||||
|
|
||||||
const parser = new WARCParser(warc);
|
const parser = new WARCParser(warc);
|
||||||
for await (const record of parser) {
|
for await (const record of parser) {
|
||||||
|
|
Loading…
Reference in a new issue