seems extracting total_dependents from the html page is incorrect, probably because GH has updated the page. this PR solve the issue.
before
github-dependents-info --repo nvuillam/github-dependents-info will output:
WARNING:root:WARNING: Unable to get integer from ""
WARNING:root:WARNING: Unable to get integer from ""
Total: 11
Public: 11 (145 stars)
Private: -11
after
github-dependents-info --repo nvuillam/github-dependents-info will output:
Total: 12
Public: 11 (145 stars)
Private: 1
a timedelay option
a timedelay option has been added, this controls how long to wait (use time.sleep) between two requests to github, this is useful for repository with a very long dependents list.
Description
Change to extract total_dependents
seems extracting total_dependents from the html page is incorrect, probably because GH has updated the page. this PR solve the issue.
before
github-dependents-info --repo nvuillam/github-dependents-info
will output:after
github-dependents-info --repo nvuillam/github-dependents-info
will output:a timedelay option
a timedelay option has been added, this controls how long to wait (use
time.sleep
) between two requests to github, this is useful for repository with a very long dependents list.Related Issue
not found
Type of Change
Checklist
CODE_OF_CONDUCT.md
document.CONTRIBUTING.md
guide.make codestyle
.