--navigator-deny-url
- CLI
- --navigator-deny-url
Refuses a URL glob that the --navigator-initial-scope admits. Repeatable. Links it refuses are hidden from the navigator, and navigation to them is blocked.
A start on example.com admits www.example.com, and a start on www.example.com admits example.com. Deny the one you don’t want. --navigator-allow-url admits what a deny refuses, so --navigator-deny-url "*" with allow globs leaves only those globs.
Example
zshot --navigator-type "anthropic://YOUR_API_KEY@" \
--navigate "Find the install instructions" \
--navigator-deny-url "www.zshot-cli.com" \
--navigator-deny-url "/blog/*" \
https://zshot-cli.com/{
"url": "https://zshot-cli.com/",
"navigate": "Find the install instructions",
"navigator_deny_url": ["www.zshot-cli.com", "/blog/*"],
"navigator_type": ["anthropic://YOUR_API_KEY@"]
}curl -X POST http://127.0.0.1:3000/ \
-H "Content-Type: application/json" \
-d '{"url":"https://zshot-cli.com/","navigate":"Find the install instructions","navigator_deny_url":["www.zshot-cli.com","/blog/*"],"navigator_type":["anthropic://YOUR_API_KEY@"]}'