Quickly crawl the information (e.g. followers, tags, mentions, date, etc...) of an instagram profile. No login required!
Automation Script for crawling information from multiple instagram profile, like the number of posts, followers, tags and mentions of the posts. Inspired by this project but made in nodeJS and more complete.
Two way to crawl profile data in Instagram :
- use Instagram API (the faster)
- use Selenium with chromedriver (more complete but slower)
If you've encountered a problem and you need some help, please let me an issue.
- crawl the number of followers, followings and posts
- It's possible to crawl multiple accounts
- crawl each post with number of likes and comments
- crawl date, localization, description, tags and mention
- crawl image and video
- work with instagram in different language (english, french, german...)
- Headless mode
Selenium is now an optional dependency. If you want to use the script in that mode (instead of API mode), you have to run the following commands first:
npm install selenium-standalone@latest -g
selenium-standalone install
npm install -g instagram-profilecrawl
If you encounter an error on windows, do :
npm install -g windows-build-tools
npm install -g instagram-profilecrawl
Usage
$ instagram-profilecrawl <input>
Options
--method, -m define method (default api)
--output, -o define output file (default profile_<input>.json)
Examples
$ instagram-profilecrawl nacimgoura --method=selenium
You can find complete examples in the example folder.
MIT © Nacim Goura