-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Expand file tree
/
Copy pathlychee.toml
More file actions
29 lines (23 loc) · 671 Bytes
/
lychee.toml
File metadata and controls
29 lines (23 loc) · 671 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Lychee link checker configuration
# See https://github.com/lycheeverse/lychee for all options
# Maximum number of retries per link
max_retries = 3
# Timeout per request in seconds
timeout = 20
# Exclude these URLs from checking (regex patterns)
exclude = [
"twitter\\.com",
"x\\.com",
"osdev\\.org",
"intel.com/*"
]
# Accept status codes as valid
accept = [
200, # OK
204, # No Content
206, # Partial Content (for range requests)
]
# User agent string
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"
# Check external links
scheme = ["https", "http"]