Extracts the important things out of a URL.