diff options
| author | Shulhan <ms@kilabit.info> | 2025-06-01 16:02:46 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2025-06-01 16:02:46 +0700 |
| commit | ff0fb55d60f4c29ffb6b8a69c2be3469f794990a (patch) | |
| tree | a3a28c2b1fe241dc1378e237407a2db1cb433779 /README | |
| parent | 19b2e2d1ac0fd8a88af6b0da3d00017e4ee31c06 (diff) | |
| download | jarink-ff0fb55d60f4c29ffb6b8a69c2be3469f794990a.tar.xz | |
all: brokenlinks should scan only URL on given path
Previously, if we pass the URL with path to brokenlinks, for example
"web.tld/path" it will scan all of the pages in the website "web.tld".
Now, it only scan the "/path" and its sub paths.
Diffstat (limited to 'README')
| -rw-r--r-- | README | 35 |
1 files changed, 34 insertions, 1 deletions
@@ -20,8 +20,41 @@ Available commands, Links will be scanned on anchor href attribute ("<a href=...>") or on the image src attribute ("<img src=..."). + The URL can be start from base or from sub path. + Scanning from path only report brokenlinks on that path and their + sub paths. + For example, given a website that have the following pages, + + - web.tld (base) + - web.tld/page1 + - web.tld/page1/sub1 + - web.tld/page2 + - web.tld/page2/sub1 + + Invoking brokenlinks with + + $ jarink brokenlinks https://web.tld + + will scan all of the pages, but invoking brokenlinks on path + "/page2" + + $ jarink brokenlinks https://web.tld/page2 + + only scan "/page2" and "/page2/sub1". + Once finished it will print the page and list of broken links in - JSON format to standard output. + JSON format to standard output, + + { + "$PAGE": [{ + "Link": <string>, + "Error": <string>, + "Code": <integer> + }, + ... + ], + ... + } This command accept the following options, |
