Update site-list.py

This commit is contained in:
Arjix 2021-10-04 20:30:02 +03:00 committed by GitHub
parent 2e2614b1b0
commit fd454c617c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -55,7 +55,7 @@ with open("README.md", "r+", encoding='utf-8') as readme:
for site in enabled_sites:
if site in sites:
readme.write(
"- [{0}]({1}) \n".format(sub("^https?://", "", sites[site]), sites[site]))
"- [{0}]({1}) \n".format(sub("^https?://(?:www\.)?", "", sites[site]), sites[site]))
readme.write(END_MARKER)
readme.write(raw.split(END_MARKER)[-1])