const _ = (selector, el) => Array.from((el || document).querySelectorAll(selector)); // Example: Run on http://www.nu.nl for extracting all news headers _('.info').map(x => _('.title', x).map(y => y.innerText)[0])
Another example:
https://nl.wikipedia.org/wiki/Lijst_van_vlaggen_van_de_wereld
_('.wikitable td').map(e => ([ _('a', e).slice(-1).map(e => e.innerText).pop(), _('a.image img', e).map(e => e.src).pop() ]))
320000cookie-checkSimple JQuery like selector