get subdomain from url using python,subdomain = url.hostname.split('.')[0]