Insu — Instagram Bot.

import time
import pyautogui as pg
from pyfiglet import Figlet
f = Figlet(font='doom')
print("----------------(Insu(v0.5) Instagram Bot by likenull)-------------------")
count = 0
numlikes = int(input("How many post to like: "))
print(str(numlikes) + " posts to like")
hastag = str(input("Hashtag to use:"))
print("Using hashtag: " + str(hastag))
print("Launching(slow mode)...")
time.sleep(2), 98)
pg.PAUSE = 3.25'down')
pg.PAUSE = 2.0'enter')'enter')
pg.PAUSE = 3.6'pagedown')
#Step 2 post click
pg.PAUSE = 2.0, 518)
pg.PAUSE = 3.0
#alinging pointer to the middle Point(x=339, y=400)
print("Liking recent Post by tag.....")
pg.moveTo(332, 400)
pg.Pause = 2.0
pg.doubleClick(332, 400)
print("First post liked")
pg.Pause = 3.5'right')
count = 1
while (count < numlikes):
count = count + 1
pg.doubleClick(332, 400)
pg.Pause = 4.0'right')
print("\rPosts liked: "+str(count), end='')
pg.Pause = 0.1
print(str(numlikes) +" Post liked. By tag" + str(hastag))
print("\rPosts liked: "+str(count), end='')

Tech enthusiast, Web Developer.

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Learning Dynamic Components — Making a Pizza Creator App using Angular

R to read GEE export CSV data

How To Create A Quiz App in React

Profanity Check — Using IBM Cloud Functions — in a snap (less than 5 mins)

Wasm Introduction (Part 4): Function Call

10 Main Core Concept You Need to Know About React

!!!Atoms, Molecules …. TDD??

Molecules made of atoms

Making code a bit more readable

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Atul kumar singh

Atul kumar singh

Tech enthusiast, Web Developer.

More from Medium

Create Your First Reddit Bot with Python and Heroku

Escape from Blocking IP using Rotating Proxy in Python Case Study

Football Betting Predcition and PythonAnywhere Rollout

Use Python and Spotify to Play MINGO