"remove a substring "".com"" from the end of string `url`","if url.endswith('.com'):