CRIExtraWARCGenerator
Extends:
WARCWriterBase → CRIExtraWARCGenerator
WARC Generator for use with puppeteer
Method Summary
Public Methods | ||
public |
async generateWARC(capturer: CRIExtraRequestCapturer, genOpts: WARCGenOpts): Promise<void> |
|
public |
async generateWarcEntry(request: Request): Promise<void> Generate a WARC record |
Public Methods
public async generateWARC(capturer: CRIExtraRequestCapturer, genOpts: WARCGenOpts): Promise<void> source
Params:
Name | Type | Attribute | Description |
capturer | CRIExtraRequestCapturer | The Puppeteer request capturer that contains requests to be serialized to the WARC |
|
genOpts | WARCGenOpts | Options for generating the WARC and optionally generating WARC info, WARC info + Webrecorder Player bookmark list, metadata records |