URL and domain check and extraction