def xml_read_from_url(url, skip_validation=False):
    try:
        req = requests.get(url, verify=(not skip_validation))
        req.raise_for_status()
        if (not req.content):
            raise Exception
    except Exception:
        raise InvalidURL('Unable to extract metadata from URL')
    return req.content
def xml_read_from_url(url, skip_validation=False):
    try:
        req = requests.get(url, verify=(not skip_validation))
        req.raise_for_status()
        if (not req.content):
            raise Exception
    except Exception:
        raise InvalidURL('Unable to extract metadata from URL')
    return req.content