A simple page info taker.
npm install page-info
- follow
301
302
redirection
var pageInfo = require('page-info');
pageInfo('google.com', function (page) {
log(page.icon())
log(page.favicon())
log(page.shortcutIcon())
log(page.title())
log(page.description())
log(page.bodyText())
log(page.firstDivText())
log(page.firstParagraphText())
log(page.thumbnail())
log(page.firstImg())
});
MIT