Skip to content

Automations for instagram using Selenium and Python, following anti-blocking rules for accounts.

Notifications You must be signed in to change notification settings

jpedrosouza/instagram-automations-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Welcome to instagram automation!

This software was developed in order to automate the repetitive process that would be performed by a human, which consists of liking images and sending directs in interval spaces. Remembering that it is up to the user to determine how the program will be used, I am not responsible in case of blockages.

How it works and what's done

The program works as follows. It likes one post every 100 seconds and every 15 likes, it sends a direct with a message that should be reported by the user at the beginning of program execution. Before sending a direct, the program will check which people you have already texted and save their name in a list. After that, it will move to your profile and open your most recent post. After that, it will open to see which people liked your post and check if you've already sent them a message, if not, they'll save that person's name, go back to the directs page, and send the message you choose to the person.

The times chosen were based on instagram limits, so it doesn't block your account (remembering that it's not a guarantee that instagram won't block your account).

Minimum requirements

Have Python installed. Check out the python installation instructions here.

Cloning and running the program

To clone this repository to your computer, simply enter the command:

$ git clone https://github.com/jpedrosouza/instagram-automations-python.git

Ready! You are already almost ready to run the program.

Before you can run the program, first enter the program folder. After that, simply type the command below to have it executed:

$ python main.py

How to run the program

All your files and folders are presented as a tree in the file explorer. You can switch from one to another by clicking a file in the tree.

Instructions

When running the file, the first thing that will happen, is the installation of the latest version of chromedriver. Once installed, a Chrome window will be opened and some information will be requested in the command prompt, which is:

  • Login (The login is necessary for the program to log in to your instagram account, remembering that everything happens locally and the program has no external contact with any type of database or services that could steal your information).
  • Password (The password is necessary for the program to log in to your instagram account, remembering that everything happens locally and the program has no external contact with any type of database or services that could steal your information)
  • On what basis you want to accomplish the task (This part is very important. If you want to like posts based on a particular hashtag, use option 1 and after entering, enter which hashtag you want to use. If you want to like posts based on a location, choose option 2 and after you enter, enter which place you want to use).
  • Message (The message must be informed, as it will be sent to the chosen users).

About

Automations for instagram using Selenium and Python, following anti-blocking rules for accounts.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages