Skip to content
This repository has been archived by the owner on Nov 10, 2021. It is now read-only.
/ Instagram Public archive

A simple Instagram bot for analysis, and minimising human work.

Notifications You must be signed in to change notification settings

adarshpunj/Instagram

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Instagram

A simple Instagram bot for analysis, and minimising human work.

Depedencies:

selenium requests

You would also need to have pynotify.

(You could also choose to remove any usage of pynotify in the program)

How to run:

1. Download the project.
2. Open strings.py and make changes (chromium path, username, password, etc.).
3. Run the main.py file
Here's a guide to use different functions defined in instagram.py file.
Function Description Arguments
login() Logs into instagram None
scroll_following_list() Scrolls following dialog till the end None
follow() Follows an Instagram account Username (string)
unfollow() Unfollows an instagram account Username (string)
follow_fans_of() Follows accounts who recently liked a page's post Page username (string)
follow_users() Picks up usernames from strings.py and calls follow_fans_of() for each username. Move on to next username in case of errors None
unfollow_users() Unfollows users No. of users to be unfollowed (int)
retrieve_data_from_access_tool() Returns requested account data data_name (string)
get_summary() Prints stats of an account None
unfollow_accounts_not_following() Unfollows accounts that are not following the user None
withdraw_pending_requests() Cancel all the current follow requests None

About

A simple Instagram bot for analysis, and minimising human work.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages