Comments (3)
Nice idea! We could add a skip-retry
option that defaults to 404
. If anyone is interested in working on this, post a comment here. @pawroman and me are happy to help. 😊
from lychee.
So after looking at the code again, I'm not sure if there's anything left to do here.
At the moment we accept any HTTP status code and don't retry if we get a "valid" response.
lychee/lychee-lib/src/client.rs
Lines 191 to 193 in 2a80760
So no matter if we receive a 200 or a 404, we don't retry. Only if there was an invalid status code we check again.
Makes sense to me actually. What do you think?
from lychee.
I think this is done. Closing this to keep the issue tracker clean. @pawroman feel free to reopen. 😉
from lychee.
Related Issues (20)
- Too many redirects HOT 4
- Update pulldown-cmark
- Support Extism WASM plugins
- Does it support scanning Vue files HOT 3
- Issues checking anchors/fragments in markdown files HOT 3
- Response chain
- Missing 0.15.x releases on docker hub HOT 1
- optionally fix document when URL are redirected HOT 6
- Converting Uri to Url string HOT 2
- Feature request: add FlareSolverr solver to bypass CloudFlare protection HOT 5
- custom Header not sent HOT 7
- Consider renaming `--format` to `--report` HOT 5
- Comments to ignore links HOT 1
- Consider renaming `fail_map` to `error_map` HOT 3
- Screencast SVG incurs a rendering burden on the browser HOT 1
- Optionally: Collect all URLs and deduplicate them? HOT 3
- Optionally: retrieve titles of pages and URL fragment targets? HOT 3
- Parameter --base does not work on windows HOT 13
- Archive integration with `lychee_lib` HOT 1
- bug: anchor/fragment detection doesn't appear to work HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lychee.