N0taN3rd / node-warc

Parse And Create Web ARChive (WARC) files with node.js
MIT License
93 stars 20 forks source link

Feature request: Add fields to warcinfo #22

Closed BubuAnabelas closed 5 years ago

BubuAnabelas commented 5 years ago

The spec says:

Allowable fields include, but are not limited to...

Currently it just admits the isPartOf, UserAgent and description. It would be useful to add software-based fields, to change the robots fields and to add some extra info to the software line.

https://github.com/N0taN3rd/node-warc/blob/09a8a0bed6ebeebeb580c64c2f5d1767eec855d1/lib/writers/warcFields.js#L175-L189

BubuAnabelas commented 5 years ago

Tested commit 0de56e6 and everything seems to work fine, feature added. Closing issue.