-
Notifications
You must be signed in to change notification settings - Fork 45
Expand file tree
/
Copy pathlychee.toml
More file actions
39 lines (32 loc) · 1.09 KB
/
lychee.toml
File metadata and controls
39 lines (32 loc) · 1.09 KB
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
30
31
32
33
34
35
36
37
38
39
# Lychee link checker configuration
# See https://lycheeverse.github.io/lychee/config.html
# Exclude URLs matching these patterns (treated as regex)
exclude = [
# CDN / font hosts that block automated requests
'fonts\.gstatic\.com',
'fonts\.googleapis\.com',
'cdn\.jsdelivr\.net',
'cdnjs\.cloudflare\.com',
'unpkg\.com',
# Discourse embed URLs are only valid after a page has been published
'discuss\.scientific-python\.org',
# Sites that return 403 Forbidden to bots
'anaconda\.org',
'hackmd\.io',
'timeanddate\.com',
'medium\.com',
# Links from pages captured for posterity, but no longer active
'www.dsb.dk'
]
# Exclude file paths matching these patterns (treated as regex)
# Meeting notes are historical and not actively maintained
exclude_path = [
'/meeting\d+/',
'\.xml$'
]
# Accept these HTTP status codes as successful
# 100-103: informational, 200-299: success, 429: rate limit (transient, not a real error)
accept = "100..=103,200..=299,429"
# Throttle requests to avoid rate limits (e.g., upload.wikimedia.org)
max_concurrency = 1
host_request_interval = "200ms"