code: function parseEntryUrl(entry) {
  	const parseUrl = require('url').parse;
  	var parsed;
  
  	// asset type
  	entry.type = 'other';
  
  	if (entry.url.indexOf('data:') !== 0) {
  		// @see http://nodejs.org/api/url.html#url_url
  		parsed = parseUrl(entry.url) || {};
  
  		entry.protocol = parsed.protocol.replace(':', '');
  		entry.domain = parsed.hostname;
  		entry.query = parsed.query;
  
  		if (entry.protocol === 'https') {
  			entry.isSSL = true;
  		}
  	}
  	else {
  		// base64 encoded data
  		entry.domain = false;
  		entry.protocol = false;
  		entry.isBase64 = true;
  	}
  
  	return entry;
  }
docs: parse given URL to get protocol and domain