Python Get Hostname From Url