-
-
Notifications
You must be signed in to change notification settings - Fork 22
/
lychee.toml
62 lines (50 loc) · 1.5 KB
/
lychee.toml
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
# Interface
verbose = "info"
no_progress = true
cache = true
max_cache_age = "10m"
# Stealth
user_agent = "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:128.0) Gecko/20100101 Firefox/128.0"
# Prevent 'Too Many Open Files'
max_concurrency = 32
# Check links inside `<code>` and `<pre>` blocks and Markdown code blocks
include_verbatim = true
# Check fragments in links
include_fragments = true
# Don't check emails, it's problematic
include_mail = false
# Add 'Too many requests'
accept = ["100..=103", "200..=299", "429"]
# Be benevolent
max_retries = 5
timeout = 30
# Exclude
exclude = [
# Specifications
"^https://ogp\\.me/ns/website",
# Infrastructure
"^https://juniorguru\\.memberful\\.com",
"^https://js\\.memberful\\.com",
"^https://assets\\.memberful\\.com",
"^https://js\\.stripe\\.com",
"^https://m\\.stripe\\.network",
"^https://sa\\.junior\\.guru",
# Anti-scraping protections
"^https://www\\.linkedin\\.com",
"^https://www\\.facebook\\.com",
"^https://www\\.reddit\\.com",
"^https://robime\\.it",
"^https://www\\.techinterviewhandbook\\.org",
"^https://www\\.glassdoor\\.com",
"^https://toptal\\.com",
"^https://upwork\\.com",
"^https://www\\.make\\.com",
"^https://[^\\.]+\\.discord\\.com",
"^https://fiverr\\.com",
# Read the Docs anti-scraping protections
"^https://docs\\.pyvec\\.org",
"^https://www\\.writethedocs\\.org",
# Expiring jobs
"^https://jobs\\.cz/fp/",
"^https://jobs\\.cz/rpd/",
]