Microlink × Product Hunt

Interact with
producthunt.com

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

const producthunt = (url, opts) =>
  mql(url, {
    data: {
      reviews: {
        selector: 'div div div div div div a[href$="reviews"]'
      }
    },
    ...opts
  })

const result = await producthunt(
  'https://www.producthunt.com/products/microlink-io'
)

mql.render(result)