NormalizeUrl
The base module of NormalizeUrl.
It exposes a single function, normalize_url.
Summary
Functions
Normalizes a url. This is useful for displaying, storing, comparing, etc
Functions
Normalizes a url. This is useful for displaying, storing, comparing, etc.
Args:
url
- the url to normalize, string
Options:
strip_www
- strip the www from the url, booleanstrip_fragment
- strip the fragment from the url, booleannormalize_protocol
- prependhttp:
if the url is protocol relative, boolean
Returns a url as a string.