mirror of
https://github.com/catdevnull/preciazo.git
synced 2025-02-23 19:06:24 +00:00
TODO
This commit is contained in:
parent
b66cb6782c
commit
2fdd89b4f8
1 changed files with 3 additions and 0 deletions
|
@ -49,6 +49,9 @@ async function parseWarc(path: string) {
|
|||
for await (const record of parser) {
|
||||
if (record.warcType === "response") {
|
||||
if (!record.warcTargetURI) continue;
|
||||
|
||||
// TODO: saltear si ya existe el record-id con el mismo parser version
|
||||
// y sobreescribir si existe el mismo record-id pero con version mas bajo?
|
||||
const html = await record.contentText();
|
||||
|
||||
const url = new URL(record.warcTargetURI);
|
||||
|
|
Loading…
Reference in a new issue