UNPKG

meta-og-scrape

Version:

Scrape meta, link & open graph tags from the head of document as a JavaScript object (JSON)

8 lines 300 B
var ogjs = require('./index.js'); // Pass in a URL ogjs({ url: 'https://get.animateme.app/GGfmuvMOdpb' }) .then(function (data) { console.log(data); // some share data parsed from metatags.. }, function (err) { console.log('It seems that we have fumbled with an error', err); });