[ Web Proxy ]
URL:
Viewing: https://github-redirect.dependabot.com/flypythoncom/python/pull/77 [Back]  [Original]

Update check_links.py by Avijit-roy Pull Request #77 flypythoncom/python GitHub
Skip to content

Navigation Menu

Sign in
Search/
Sign up

Update check_links.py - #77

Open
Avijit-roy wants to merge 1 commit into
flypythoncom:masterfrom
Avijit-roy:patch-1
Open

Update check_links.py#77
Avijit-roy wants to merge 1 commit into
flypythoncom:masterfrom
Avijit-roy:patch-1

Conversation

@Avijit-roy [@Avijit-roy]

Copy link
Copy Markdown

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.
[Go]
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.
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

Labels

None yet

1 participant

Footer

© 2026 GitHub, Inc.

Web Proxy Viewer  |  New URL  |  Original Page