Skip to content

Commit 06a873f

Browse files
committed
Eliminated .lycheeignore
1 parent e9b8859 commit 06a873f

2 files changed

Lines changed: 30 additions & 43 deletions

File tree

.lycheeignore

Lines changed: 0 additions & 42 deletions
This file was deleted.

lychee.toml

Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
# - 403 Forbidden: Some sites (npmjs.com, mathworks.com, doi.org) block automated
99
# requests but work fine in browsers
1010
# - 429 Too Many Requests: Rate limiting doesn't mean the link is broken
11-
# - See .lycheeignore for sites/patterns that are completely excluded
1211

1312
# Accept these HTTP status codes as valid
1413
# 200: OK (standard success)
@@ -41,8 +40,38 @@ exclude_path = [
4140

4241
# Exclude specific URLs from checking (by regex)
4342
exclude = [
43+
# Local/internal URLs
4444
'^http://127\.0\.0\.',
4545
'^http://localhost',
4646
'^https://localhost',
4747
'^file://',
48+
# ScienceDirect links (require authentication/cookies)
49+
'https://www\.sciencedirect\.com/science/article/pii/S1053811921010387',
50+
'https://www\.sciencedirect\.com/science/article/pii/S0010945221001106',
51+
'https://www\.sciencedirect\.com/science/article/pii/S1388245717309069',
52+
# Springer links (503 errors, but work in browsers)
53+
'^https?://link\.springer\.com/',
54+
# INCF links (certificate/network issues)
55+
'^https?://.*\.incf\.org/',
56+
'^https?://incf\.org/',
57+
# DOI links that return 403 but work in browsers
58+
'^https?://doi\.org/10\.1111/epi\.18113',
59+
# NPM package links (blocks automated requests)
60+
'^https?://.*\.npmjs\.com/package/hed-validator',
61+
# MathWorks links (blocks automated requests)
62+
'^https?://.*\.mathworks\.com/',
63+
# Brain Meeting poster links (expired/removed)
64+
'^https?://brainmeeting.*\.ipostersessions\.com/',
65+
'^https?://globalbrainconsortium\.org/documents/GBC_March-2023_Agenda_Annual_Meeting\.pdf',
66+
# CANCTA network links (authentication/access issues)
67+
'^https?://.*\.cancta\.net/',
68+
'^https?://cancta\.net/',
69+
# GitHub discussions (programmatic access blocked)
70+
'^https?://github\.com/hed-standard/hed-python/discussions',
71+
# HED tools services (programmatic access blocked)
72+
'^https?://hedtools\.org/hed/services_submit',
73+
# Neuroinformatics registration (certificate issues)
74+
'^https?://neuroinformatics\.incf\.org/',
75+
# Internal anchor links (false positives from lychee)
76+
'(_anchor|-anchor)',
4877
]

0 commit comments

Comments
 (0)