What do you want to save?
Add Code snippet
New code examples
-
Javascript 2021-09-09 04:17:01
cheerio library to parse the meta tags in url
request('https://example.com', function (error, response, html) { if (!error && response.statusCode == 200) { const $ = cheerio.load(html); console.log($("meta[property='og:title']").attr("content")); //or ... Add solution