bench/index.js
function getScraperResults (SCRAPER, urls, htmls) {
  return Promise.all(
    urls.map((url, i) => {
      const html = htmls[i]
      const name = SCRAPER.name
      const Module = require(name)
      return SCRAPER.scrape(Module, url, html).then(metadata => {
        return SCRAPER.normalize(metadata)
      })
    })
  )
}
function getScraperResults (SCRAPER, urls, htmls) {
  return Promise.all(
    urls.map((url, i) => {
      const html = htmls[i]
      const name = SCRAPER.name
      const Module = require(name)
      return SCRAPER.scrape(Module, url, html).then(metadata => {
        return SCRAPER.normalize(metadata)
      })
    })
  )
}
function getScraperResults ( SCRAPER , urls , htmls ) { return Promise . all ( urls . map ( ( url , i ) => { const html = htmls [ i ] const name = SCRAPER . name const Module = require ( name ) return SCRAPER . scrape ( Module , url , html ) . then ( metadata => { return SCRAPER . normalize ( metadata ) } ) } ) ) }
Get metadata results from a single `SCRAPER` and `urls` and `htmls`.

@param {Object} SCRAPER
@param {Array} urls
@param {Array} htmls
@return {Promise} results
Get metadata results from a single SCRAPER and urls and htmls .