aboutsummaryrefslogtreecommitdiff
path: root/brokenlinks/testdata/exp_cache.json
AgeCommit message (Collapse)Author
2026-02-12brokenlinks: store the anchor or image source in linkShulhan
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.
2026-02-11brokenlinks: test links that wrapped by other elementsShulhan
This is to see the behaviour of [Node.Descendants] when traversing the element recursively.
2026-02-04brokenlinks: skip parsing non-HTML pageShulhan
If the response Content-type return other than "text/html", skip parsing the content and return immediately.
2026-01-22all: refactoring, use single struct to represent LinkShulhan
Previously, have [jarink.Link], [brokenlinks.Broken], and [brokenlinks.linkQueue] to store the metadata for a link. These changes unified them into struct [jarink.Link].
2025-11-20brokenlinks: fix infinite loop on unknown hostShulhan
On link with invalid domain, it should break and return the error immediately.
2025-06-27brokenlinks: implement caching for external URLsShulhan
Any succesful fetch on external URLs, will be recorded into jarink cache file, located in user's home cache directory. For example, in Linux it would be `$HOME/.cache/jarink/cache.json`. This help improve the future rescanning on the same or different target URL, minimizing network requests.