automatic parsing of urls