def getServiceEndpoints(input_url, flt=None):
    result = discover(input_url)
    try:
        endpoints = applyFilter(result.normalized_uri,
                                result.response_text, flt)
    except XRDSError, err:
        raise DiscoveryFailure(str(err), None)
    return (result.normalized_uri, endpoints)
Perform the Yadis protocol on the input URL and return an
dataset/ETHPy150Open CollabQ/CollabQ/openid/yadis/services.py/getServiceEndpoints