Skip to main content

Scrape Instagram Profile and login Instagram

Project description

InstagramIG

It is a useful project for developers that includes useful tools for Instagram

SidraELEzz' Github Stats

Installation :

pip install InstagramIG

Logan Usage

from InstagramIG import SidraELEzz

username = "<your email or phone or username>"
password ="<your password >"
Logan = SidraELEzz.Instalogin(str(username),str(password))

if Logan ==True:
	print ("login successful")
	
elif Logan ==False:
	print("Error account is security")
elif deta ==None:
	print("Error account is bad")
	

To get the number of followers

from InstagramIG import SidraELEzz

username = "< username >"

followers = SidraELEzz.followers(str(username))
print (followers)
	

To get the number of following

from InstagramIG import SidraELEzz

username = "< username >"

following = SidraELEzz.following(str(username))
print (following)
	

To get the number of posts

from InstagramIG import SidraELEzz

username = "< username >"

post = SidraELEzz.posts(str(username))
print (post)
	

To get the id

from InstagramIG import SidraELEzz

username = "< username >"

id = SidraELEzz.id(str(username))
print (id)
	

To get the name

from InstagramIG import SidraELEzz

username = "< username >"

name = SidraELEzz.name(str(username))
print (name)
	

To get the target account creation date

from InstagramIG import SidraELEzz

username = "< username >"

data = SidraELEzz.data(str(username))
print (data)
	

Log in with a phone number or email with all the information

from InstagramIG import SidraELEzz

username = "<your email or phone >"
password ="<your password >"
Logan = SidraELEzz.Instalogin(str(username),str(password))

if Logan ==True:
	sessionid = 'sessionid.txt'
	file = open(sessionid, "r").readline().split('\n')[0]
	username = SidraELEzz.username(str(file))
	print ("login successful")
	print(username)
	followers = SidraELEzz.followers(str(username))
	print (followers)
	following = SidraELEzz.following(str(username))
	print (following)
	post = SidraELEzz.posts(str(username))
	print (post)
	ID = SidraELEzz.id(str(username))
	print (ID)
	name = SidraELEzz.name(str(username))
	print(name)
	deat = SidraELEzz.data(str(username))
	print (deat)
elif Logan ==False:
	print("Error account is security")
elif Logan ==None:
	print("Error account is bad")
	
	

Follow us on social media

Github Telegram

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

InstagramIG-0.0.2.tar.gz (8.0 kB view hashes)

Uploaded Source

Built Distribution

InstagramIG-0.0.2-py3-none-any.whl (8.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page