1.1.0 • Published 3 years ago

instagram-posts-grabber v1.1.0

Weekly downloads
-
License
ISC
Repository
github
Last release
3 years ago

Instagram Posts Grabber

Grabs instagram user's last posts & downloads if needed

Installing

$ npm i instagram-posts-grabber

Methods

.launchBrowser()

.authorize()

.parseAccount(account, count, path)

Usage

const instaGrabber = require('instagram-posts-grabber');
const parser = new instaGrabber('examplemail@gmail.com', 'examplepass');

parser.launchBrowser().then(function() {
	parser.parseAccount('exampleuser', 10, './').then(function(data) {
  		console.log(data);
	}).catch(function() {
  		console.log('[error] while parsing');
	});
}).catch(function() {
 	console.log('[error] while logging');
});