-
-
Notifications
You must be signed in to change notification settings - Fork 19
Expand file tree
/
Copy pathinta.py
More file actions
18 lines (15 loc) · 586 Bytes
/
inta.py
File metadata and controls
18 lines (15 loc) · 586 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# This program is made by MRayan Asim
# Packages needed:
# pip install instaloader
import instaloader
# Create an instance of Instaloader class
bot = instaloader.Instaloader()
username = input("Enter the user name: ")
# Load a profile from an Instagram handle
profile = instaloader.Profile.from_username(bot.context, username)
print("Username: ", profile.username)
print("User ID: ", profile.userid)
print("Number of Posts: ", profile.mediacount)
print("Followers: ", profile.followers)
print("Followees: ", profile.followees)
print("Bio: ", profile.biography, profile.external_url)