Scrape Instagram Profile and login Instagram
Project description
InstagramIG
It is a useful project for developers that includes useful tools for Instagram
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
Project details
Release history Release notifications | RSS feed
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)
Built Distribution
Close
Hashes for InstagramIG-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7c7fb0d956aa24384940eb0a4449db266479f8c6964732d3a6ee20cb17fc36b1 |
|
MD5 | 88d2ee5a576f92dbe4912b49c70a9e2b |
|
BLAKE2b-256 | 4d28c2838eeeb73117ac040597e923982c9be2432526b19d78b9958d5feeff2f |