fix(cli): honest User-Agent tokens on jobbank and jobdanmark detail

jobbank sent a full Chrome browser string and jobdanmark's detail
command a bare Mozilla/5.0. Both now use the (compatible; <portal>-cli/1.0)
token per the identification posture settled in #277. Verified live:
both portals serve identical responses to the honest token.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
Mads LorentzenandClaude Fable 5 committed 2026-08-05 06:34:00 +02:00
1 parent 60c735946d
commit 45513464dc
2 files changed
+2 -3

No files matched your search

@@ -222,7 +222,7 @@ export const detail = defineCommand({
const response = await fetch(url, {
headers: {
"Accept": "text/html,application/xhtml+xml",
"User-Agent": "Mozilla/5.0",
"User-Agent": "Mozilla/5.0 (compatible; jobdanmark-cli/1.0)",
},
signal: AbortSignal.timeout(15000),
})