This is a basic nodejs tool to collect Instagram post data. This tool usage puppeteer to scrap and get insta data.
- create .env file at root folder.
- Add INSTAGRAM_USERNAME and INSTAGRAM_PASSWORD environment variable in .env file.
- initilize the app using npm i
- run the app using node index.js --post
- run the app using node index.js --hashtag gadgets
- use --post to collect posts from instagram homepage and --hashtag hashTag_Name to collect post by hashtag_Name.
- data will be available in log.json file at root folder.