Skip to content

Commit d40d0e3

Browse files
committed
Mimic real browser during link checking to prevent odido.nl 403 blocking
1 parent aad4ba5 commit d40d0e3

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lychee.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ max_redirects = 10
3434
# Timeout in seconds for network requests
3535
timeout = 20
3636

37-
# User agent
38-
user_agent = "Mozilla/5.0 (compatible; LinkChecker/1.0)"
37+
# User agent (mimics a real browser to avoid 403 blocks)
38+
user_agent = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36"
3939

4040
# Exclude private network addresses
4141
exclude_private = true

0 commit comments

Comments
 (0)