diff options
| author | Shulhan <ms@kilabit.info> | 2025-06-04 10:07:24 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2025-06-05 00:34:33 +0700 |
| commit | c044c4edd47c260ae6137b7116c0891cd8b979d1 (patch) | |
| tree | 3476ede01fccad10dc763fdad40ce57892c63a31 /testdata | |
| parent | ec44df63c7fdba18201992e83574fdce1e3bdc8f (diff) | |
| download | jarink-c044c4edd47c260ae6137b7116c0891cd8b979d1.tar.xz | |
all: add option to scan pass result
The brokenlinks command now have option "-past-result" that accept
path to JSON file from the past result.
If its set, the program will only scan the pages with broken links
inside that report.
Diffstat (limited to 'testdata')
| -rw-r--r-- | testdata/past_result.json | 8 | ||||
| -rw-r--r-- | testdata/past_result.json.license | 2 |
2 files changed, 10 insertions, 0 deletions
diff --git a/testdata/past_result.json b/testdata/past_result.json new file mode 100644 index 0000000..3ba37c1 --- /dev/null +++ b/testdata/past_result.json @@ -0,0 +1,8 @@ +{ + "http://127.0.0.1:11836/page2": [ + { + "link": "http://127.0.0.1:11836/", + "code": 404 + } + ] +} diff --git a/testdata/past_result.json.license b/testdata/past_result.json.license new file mode 100644 index 0000000..22616a9 --- /dev/null +++ b/testdata/past_result.json.license @@ -0,0 +1,2 @@ +SPDX-FileCopyrightText: 2025 M. Shulhan <ms@kilabit.info> +SPDX-License-Identifier: GPL-3.0-only |
