Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Update check_links.py #77

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
Avijit-roy wants to merge 1 commit into flypythoncom:master
base: master
Choose a base branch
Loading
from Avijit-roy:patch-1

Conversation

@Avijit-roy
Copy link

@Avijit-roy Avijit-roy commented Jan 6, 2026

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 (1, →, ✗, ⏱,?) 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.
- 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 (1, →, ✗, ⏱,?) in the output.
Make max_workers and timeout configurable.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

AltStyle によって変換されたページ (->オリジナル) /