From af53b844b3f7bfad95dafd450305e854ca216dc2 Mon Sep 17 00:00:00 2001 From: Mo Langning <133737702+molangning@users.noreply.github.com> Date: Sun, 26 Nov 2023 22:02:29 +0800 Subject: [PATCH] verbose logging --- .bin/get-and-patch-readme-repository-details.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.bin/get-and-patch-readme-repository-details.py b/.bin/get-and-patch-readme-repository-details.py index f7ce4fbf..f120f8b0 100755 --- a/.bin/get-and-patch-readme-repository-details.py +++ b/.bin/get-and-patch-readme-repository-details.py @@ -4,6 +4,8 @@ import requests,re +print("[+] Readme stats updater") + REPOSITORY_API="https://api.github.com/repos/%s" REPOSITORY="danielmiessler/SecLists" REPOSITORY_COMMITS_API="https://api.github.com/repos/%s/commits" @@ -77,4 +79,6 @@ if re.match(DETAILS_ANCHOR_REGEX,readme_contents,flags=re.DOTALL): exit(2) readme_contents=re.sub(DETAILS_ANCHOR_REGEX,DETAIL_USER_NOTICE_STRING,readme_contents,flags=re.DOTALL) -open("README.md","w").write(readme_contents) \ No newline at end of file +open("README.md","w").write(readme_contents) + +print("[+] Wrote README.md!") \ No newline at end of file