aboutsummaryrefslogtreecommitdiff
path: root/brokenlinks/testdata/exp_cache.json
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2026-02-12 01:04:40 +0700
committerShulhan <ms@kilabit.info>2026-02-12 01:04:40 +0700
commit9c7ee77376294e9abd70ca356e26d0ab16ad7466 (patch)
tree2fc279d233575571389ea89d2ba0be16314bc7dd /brokenlinks/testdata/exp_cache.json
parent8100b3be0730173a77f1a64f9ac6bc8862a159ac (diff)
downloadjarink-9c7ee77376294e9abd70ca356e26d0ab16ad7466.tar.xz
brokenlinks: store the anchor or image source in link
In the struct Link, we add field Value that store the href from A element or src from IMG element. This allow us to debug any error during scan, especially joining path and link.
Diffstat (limited to 'brokenlinks/testdata/exp_cache.json')
-rw-r--r--brokenlinks/testdata/exp_cache.json3
1 files changed, 3 insertions, 0 deletions
diff --git a/brokenlinks/testdata/exp_cache.json b/brokenlinks/testdata/exp_cache.json
index e80202f..41828bc 100644
--- a/brokenlinks/testdata/exp_cache.json
+++ b/brokenlinks/testdata/exp_cache.json
@@ -1,16 +1,19 @@
{
"scanned_links": {
"http://127.0.0.1:11900": {
+ "value": "http://127.0.0.1:11900",
"url": "http://127.0.0.1:11900",
"size": 1214,
"status_code": 200
},
"http://127.0.0.1:11900/page2": {
+ "value": "http://127.0.0.1:11900/page2",
"url": "http://127.0.0.1:11900/page2",
"size": 483,
"status_code": 200
},
"https://127.0.0.1:11838": {
+ "value": "https://127.0.0.1:11838",
"url": "https://127.0.0.1:11838",
"size": 1214,
"status_code": 200