URIs

Retrieve all the URIs over the target URL

uris.js
const mql = require('@microlink/mql')

const code = ({ url, html }) => {
  const htmlUrls = require('html-urls')
  return htmlUrls({ html, url }).map(({ url }) => url)
}

const uris = (url, props) =>
  mql(url, { function: code.toString(), meta: false, ...props })
  .then(({ data }) => data.function)

const result = await uris('https://rauchg.com/')

mql.render(result)