Skip to content

Commit e8a9a30

Browse files
committed
ci: exclude tiktok and whatsapp false positives from lychee
1 parent 076fb80 commit e8a9a30

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.lychee.toml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,22 +3,26 @@
33

44
# Exclude patterns that are known to produce false positives or are not real links
55
# - mailto: links are not real HTTP URLs
6+
# - chat.whatsapp.com: group invite links redirect to app, return 403 for bots
67
# - facebook.com: blocks automated crawlers (redirect to login, 403)
78
# - formspree.io: form POST endpoints return 405 for GET requests (expected behavior)
89
# - instagram.com: returns 401/429 to all bots regardless of link validity
910
# - mixcloud.com: anti-bot protection similar to SoundCloud (403)
1011
# - mysql.com: returns 403 for bots
1112
# - scripts.sil.org: known redirect issues
1213
# - soundcloud.com: blocks automated link checkers with 403 (anti-bot protection)
14+
# - tiktok.com: redirects unauthenticated crawlers to homepage (403/redirect loop)
1315
# - file://: local filesystem paths used by GitHub Actions runner (not real web links)
1416
exclude = [
1517
"^file://",
1618
"^mailto:",
19+
"chat\\.whatsapp\\.com",
1720
"facebook\\.com",
1821
"formspree\\.io",
1922
"instagram\\.com",
2023
"mixcloud\\.com",
2124
"mysql\\.com",
2225
"scripts\\.sil\\.org",
23-
"soundcloud\\.com"
26+
"soundcloud\\.com",
27+
"tiktok\\.com"
2428
]

0 commit comments

Comments
 (0)