Get given or current url's information.