diff --git a/.bin/get-and-patch-readme-repository-details.py b/.bin/get-and-patch-readme-repository-details.py index 12f7d9d838d..cadab904fdc 100755 --- a/.bin/get-and-patch-readme-repository-details.py +++ b/.bin/get-and-patch-readme-repository-details.py @@ -8,8 +8,6 @@ REPOSITORY_API="https://api.github.com/repos/%s" REPOSITORY="danielmiessler/SecLists" -REPOSITORY_COMMITS_API="https://api.github.com/repos/%s/commits" -REPOSITORY_COMMIT_URL="https://github.com/%s/commit/%s" DETAILS_ANCHOR="" DETAILS_ANCHOR_REGEX=r"%s.*?%s"%(DETAILS_ANCHOR,DETAILS_ANCHOR) COMMIT_MESSAGE="[Github Action] Automated readme update." @@ -21,8 +19,7 @@ Cloning this repository should take %i-%i minutes at 5MB/s speeds. -%s -""" +%s""" size=requests.get(REPOSITORY_API%(REPOSITORY)).json()['size'] # Its in kb @@ -50,7 +47,6 @@ eta_lower_bound=int(str(size/5000/60).split('.')[0]) # Get whole number after decimal point eta_upper_bound=eta_lower_bound+1 -REPOSITORY_COMMIT_URL=REPOSITORY_COMMIT_URL%(REPOSITORY,commit_hash) DETAIL_USER_NOTICE_STRING=DETAIL_USER_NOTICE_STRING%(DETAILS_ANCHOR,final_size,eta_lower_bound,eta_upper_bound,DETAILS_ANCHOR) readme_contents=open("README.md").read() diff --git a/README.md b/README.md index 6e7b479d210..42e55664490 100644 --- a/README.md +++ b/README.md @@ -14,13 +14,10 @@ This project is maintained by [Daniel Miessler](https://danielmiessler.com/), [J Size of a complete clone of SecLists is currently at `1.05 GB` -Latest [commit](https://github.com/danielmiessler/SecLists/commit/3da34d777ebcf45ca9ac15e76c953e83950c52a5) was made on 2023-11-24 by Mo Langning - Cloning this repository should take 3-4 minutes at 5MB/s speeds. - - - - ### Install