Introduction
A WARC file stores material captured from the web together with information about each
capture. Compressed files should end in .warc.gz.
Structure
A WARC file is a simple concatenation of records. Each record has a text header, which
starts with a version line such as WARC/1.1 and gives named fields, then a
content block and two line breaks. The fields WARC-Record-ID,
Content-Length, WARC-Date and WARC-Type are
required.
The record types are warcinfo, response, resource, request, metadata, revisit, conversion and continuation. The format has no compression of its own; compressing each record as a separate gzip member keeps random access.
Not described
This page is a first outline. The details of the layout are not yet described here.
Known, not yet covered
- Reference: the named fields of each record type and segmentation.
- Viewer: the site has no viewer for this format.
Links
Software
- Heritrix – web crawler named in the specification’s examples
Reference
- The WARC format 1.1 – International Internet Preservation Consortium