aboutsummaryrefslogtreecommitdiff
path: root/testdata/past_result.json
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2025-06-04 10:07:24 +0700
committerShulhan <ms@kilabit.info>2025-06-05 00:34:33 +0700
commitc044c4edd47c260ae6137b7116c0891cd8b979d1 (patch)
tree3476ede01fccad10dc763fdad40ce57892c63a31 /testdata/past_result.json
parentec44df63c7fdba18201992e83574fdce1e3bdc8f (diff)
downloadjarink-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/past_result.json')
-rw-r--r--testdata/past_result.json8
1 files changed, 8 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
+ }
+ ]
+}