<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_ip_address(domain):
 """ Get IP address for given `domain`. Try to do smart parsing. Args: domain (str):
 Domain or URL. Returns: str: IP address. Raises: ValueError: If can't parse the domain. """

    if "://" not in domain:
        domain = "http://" + domain

    hostname = urlparse(domain).netloc

    if not hostname:
        raise ValueError("Can't parse hostname!")

    return socket.gethostbyname(hostname)