hypem-resolver.js
function getNormalizedSoundcloudUrl(soundcloudUrl) {
        var parsedUrl = url.parse(soundcloudUrl);
        var protocol = parsedUrl.protocol;
        var host = parsedUrl.host;
        var pathname = parsedUrl.pathname;
        var splitHostname = pathname.split('/');
        var normalizedUrl = protocol + "//" + host + "/" + splitHostname[1] + "/" + splitHostname[2];
        return normalizedUrl;
    }
function getNormalizedSoundcloudUrl(soundcloudUrl) {
        var parsedUrl = url.parse(soundcloudUrl);
        var protocol = parsedUrl.protocol;
        var host = parsedUrl.host;
        var pathname = parsedUrl.pathname;
        var splitHostname = pathname.split('/');
        var normalizedUrl = protocol + "//" + host + "/" + splitHostname[1] + "/" + splitHostname[2];
        return normalizedUrl;
    }
function getNormalizedSoundcloudUrl ( soundcloudUrl ) { var parsedUrl = url . parse ( soundcloudUrl ) ; var protocol = parsedUrl . protocol ; var host = parsedUrl . host ; var pathname = parsedUrl . pathname ; var splitHostname = pathname . split ( '/' ) ; var normalizedUrl = protocol + "//" + host + "/" + splitHostname [ 1 ] + "/" + splitHostname [ 2 ] ; return normalizedUrl ; }
Get the normalized soundcloud url. This means that every
parameter or path which is not necessary gets removed.

@private
@param {string} soundcloudUrl the url to normalize
@returns {string} the normalized soundcloud url
Get the normalized soundcloud url . This means that every parameter or path which is not necessary gets removed .