Update lychee config to accept more status codes and add URLs to lycheeignore#834
Open
willingc wants to merge 2 commits intopyOpenSci:mainfrom
Open
Update lychee config to accept more status codes and add URLs to lycheeignore#834willingc wants to merge 2 commits intopyOpenSci:mainfrom
willingc wants to merge 2 commits intopyOpenSci:mainfrom
Conversation
Add /blog/ prefix to 10 relative links in blog posts that were resolving as 404s. Add bloomberg.com and doi.org to lycheeignore as they block automated requests with 403s. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…ot-protected sites The --accept 403 flag was overriding the default accepted codes, causing valid 200 responses to be rejected. Also added bot-protected domains to .lycheeignore to prevent false positives from sites with bot detection. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Collaborator
Author
|
This was built on top of #833 |
Collaborator
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

The changes to the config will accept 200 through 403 status codes. This should avoid the current Errors for redirects. Some URLs added to lycheeignore to prevent spurious errors due to Cloudflare and other destination site configs that block lychee.
This PR was created with assistance from Claude Opus. It was reviewed and verified by me.
Closes #517