def _unquote_domain(domain):
 return urllib.parse.unquote(domain).replace('%2E', '.')

def _unquote_domain ( domain ) : return urllib . parse . unquote ( domain ) . replace ( '%2E' , '.' )
unquoting function for receiving a domain name in a url .