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.1.tar.gz
(6.8 kB
view hashes)
Built Distribution
Close
Hashes for InstagramIG-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 48caeaa7dfc744dddadaf51098cb54f3eefe68a4570db957ed6d3e6b1934ad86 |
|
MD5 | c92effa00e4e5ef4e63786e8fdd11c09 |
|
BLAKE2b-256 | 2352ca9efa2c622f84a82badb19f6285bd8b214b28fe25da7a7cc765c8735688 |