Source code for access_eval.utils
#!/usr/bin/env python
# -*- coding: utf-8 -*-
[docs]def clean_url(url: str) -> str:
url = url.replace("https://", "").replace("http://", "")
if url.endswith("/"):
url = url[:-1]
return url
#!/usr/bin/env python
# -*- coding: utf-8 -*-
[docs]def clean_url(url: str) -> str:
url = url.replace("https://", "").replace("http://", "")
if url.endswith("/"):
url = url[:-1]
return url