UNPKG

@microlink/recipes

Version:

Build something with just a few of lines

36 lines (32 loc) 729 B
'use strict' const mql = require('@microlink/mql') module.exports = async (url, opts) => mql(url, { data: { members: { selector: '.groupHomeHeaderInfo-memberLink span', type: 'text' }, pastEvents: { selectorAll: '.eventCard', attr: { title: { selector: '.eventCardHead--title' }, link: { selector: '.eventCard--link', attr: 'href', type: 'url' }, attendees: { selector: '.avatarRow--attendingCount span' } } } }, ...opts }) module.exports.meta = { name: 'Meetup', examples: ['https://www.meetup.com/Alicante-Frontend/'] }