-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implements #136 - Added a `Scoop.summary()` method for generating a summary object. Can be invoked at any point during capture. - Added a `--json-summary-output` CLI option for generating a summary at the end of the capture process and saving it to disk as JSON. --- Profile of the summary object: ```json /** * @typedef {Object} ScoopCaptureSummary * @Property {int} state * @Property {object} states - Possible values of Scoop.state * @Property {string} targetUrl * @Property {boolean} targetUrlIsWebPage * @Property {ScoopOptions} options * @Property {string} startedAt - ISO-formated date * @Property {string[]} blockedRequests * @Property {string[]} noArchiveUrls * @Property {string[]} exchangeUrls * @Property {?string} captureIp * @Property {?string} userAgent */ ```
- Loading branch information
1 parent
642beb1
commit ea609ed
Showing
4 changed files
with
80 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters