harvard-lil / js-wacz

JavaScript module and CLI tool for working with web archive data using the WACZ format specification.
MIT License
11 stars 4 forks source link

Add option to copy existing pages.jsonl/extraPages.jsonl files directly in WACZ #91

Closed tw4l closed 3 months ago

tw4l commented 3 months ago

Related to https://github.com/webrecorder/browsertrix-crawler/issues/484

One more requested change for the switch to js-wacz in Browsertrix Crawler!

We would like to have an option to write pages.jsonl and extraPages.jsonl files exactly as-is from a crawl into the WACZ file if they are available. This will make for faster WACZ creation and allow us to retain additional fields we're now writing into the pages.jsonl files beyond url, title, and ts.

PR coming shortly!