Skip to content

MohanSha/InstagramProfileCrawl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

5 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Instagram-Profilecrawl

MIT license built with Selenium built with Python3

Quickly crawl the information (e.g. followers, tags etc...) of an instagram profile. No login required!

Automation Script for crawling information from ones instagram profile.
Like e.g. the number of posts, followers, and the tags of the the posts

Getting started

Just do:

git clone https://github.com/MohanSha/InstagramProfileCrawl.git

It uses selenium to get all the information so install it with:

pip install selenium

Install the proper chromedriver for your operating system. Once you (download it)[https://sites.google.com/a/chromium.org/chromedriver/downloads] just drag and drop it into instagram-profilecrawl/assets directory.

Use it!

Now you can start it using:

python3.5 crawl_profile.py username1 username2 ... usernameX

The information will be saved in a JSON-File in ./profiles/{username}.json.

Example of a files data

{
  "alias": "Mohan Sha",
  "username": "mohan.sha",
  "num_of_posts": 34,
  "posts": [
    {
      "tags": ["#fun", "#good", "#goodday", "#goodlife", "#happy", "#goodtime", "#funny", ...],
      "comments": 12,
      "img": "https://scontent.cdninstagram.com/",
      "likes": 284
     },
     {
      "tags": ["#vegan", "#veganfood", "#vegansofig", "#veganfoodporn", "#vegansofig", ...],
      "comments": 6,
      "img": "https://scontent.cdninstagram.com/t51.2885-15/e35",
      "likes": 206
     },
     .
     .
     .
     ],
  "prof_img": "https://scontent.cdninstagram.com/t51.2885-19/",
  "followers": 1950,
  "following": 310
}

With the help of Wordcloud you could do something like that with your used tags


Have Fun & Feel Free to report any issues

About

๐Ÿ“ quickly crawl the information (e.g. followers, tags etc...) of an instagram profile.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages