microlink logo

Microlink Recipe for Wipoid

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

const wipoid = (url, opts) =>
  mql(url, {
    data: {
      price: {
        selector: '#our_price_display',
        attr: 'content',
        type: 'number',
      },
    },
    ...opts,
  })

const result = await wipoid(
  'https://www.wipoid.com/msi-mag-b550m-mortar-wifi.html'
)
console.log(result)