verbose logging

This commit is contained in:
Mo Langning 2023-11-26 22:02:29 +08:00
parent 723bb37b3a
commit af53b844b3

View file

@ -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)
open("README.md","w").write(readme_contents)
print("[+] Wrote README.md!")