additions from backlog

This commit is contained in:
Trilarion
2019-09-20 18:14:35 +02:00
parent d67e0db0cc
commit fd9491dcb2
58 changed files with 529 additions and 154 deletions

View File

@ -272,7 +272,7 @@ def strip_url(url):
for prefix in ('http://', 'https://'):
if url.startswith(prefix):
url = url[len(prefix):]
for prefix in ('www'):
for prefix in ('www.',):
if url.startswith(prefix):
url = url[len(prefix):]
for suffix in ('/', '.git', '/en', '/index.html'):