#NEWLINE# def normalize_url( url , use_urlnorm = True , remove_https = True , remove_www = True ) : #NEWLINE# #INDENT# ( domain , url ) = domain_and_canonical_url ( url , remove_https = remove_https , remove_www = domain ) #NEWLINE# return normalize_canonical_url ( url , use_urlnorm )