Skip to content

Micg25/Instagram-Follower-Usernames-Scraper-with-Selenium-Python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation

Instagram-Follower-s-Usernames-Scraper-with-Selenium

This bot is made with Selenium, in order to make the code work you have to manually add the values of your own cookies, you can easily take them by logging in instagram using your own browser and then opening the inspector element; once you opened it you have to go in the memory window and look for "cookie", once there you will see all of the cookies that instagram use to log you in. In my code you are gonna find the set of cookies you have to add but you'll have to modify the values of them with your own valid cookies values. By the way in the code you are gonna find comments where you'll have to add some values. Once you properly loaded your cookies (wich they have a long expire date so don't worry about updating them frequently) And you did it, once you'll start the code this will start fetching usernames from that profile, and once finished it is gonna save the usernames in a "usernames.txt" file.

Packages needed: pip install selenium browsermob-proxy file: https://bmp.lightbody.net/ mozilla geckodriver for selenium: https://github.com/mozilla/geckodriver/releases Chrome driver: https://developer.chrome.com/docs/chromedriver/downloads?hl=it

PS. Make sure to put your driver.exe in the same path of the code, or else to specify the driver path, or else the selenium webdriver is not gonna work.