refactor: enhance the performance and dependability of the link checker
For resilient requests, a retry strategy with exponential backoff was added.
Before checking, remove duplicate URLs to prevent unnecessary requests.
- Extract response processing and add type hints to the helper method
Use pathlib.Path to handle files more neatly.
Enhance the creation of sessions by configuring HTTPAdapter
For server compatibility, a better backup from HEAD to GET requests
Include visual cues (¹, →, ✗, ⏱,?) in the output.
Make max_workers and timeout configurable.
refactor: enhance the performance and dependability of the link checker
For resilient requests, a retry strategy with exponential backoff was added. Before checking, remove duplicate URLs to prevent unnecessary requests.
Enhance the creation of sessions by configuring HTTPAdapter For server compatibility, a better backup from HEAD to GET requests Include visual cues (¹, →, ✗, ⏱,?) in the output.
Make max_workers and timeout configurable.