forked from JesperDramsch/python-deadlines
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.lychee.toml
More file actions
29 lines (23 loc) · 895 Bytes
/
Copy path.lychee.toml
File metadata and controls
29 lines (23 loc) · 895 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
# https://lychee.cli.rs/
# Exclude patterns - URLs that often rate-limit or are unreliable
exclude = [
"^https://twitter.com", # Often rate-limited
"^https://x.com", # Twitter rebrand, same issues
"archive.org", # Skip archive links (handled by archive-new-urls.yml)
"^https://crowdin.com", # Translation service, may require auth
]
# Cache results to speed up repeated checks
cache = true
max_cache_age = "1d"
# Request settings
timeout = 20
max_retries = 2
# Accept these HTTP status codes as valid
# 200: OK, 204: No Content, 301/302: Redirects, 429: Rate limited
accept = ["200", "204", "301", "302", "429"]
# User agent to avoid bot detection
user_agent = "Mozilla/5.0 (compatible; lychee/0.15; +https://github.com/lycheeverse/lychee)"
# Output format
output = "lychee/out.md"
format = "markdown"