Created
April 14, 2019 17:21
-
-
Save straxico/31d1383c13f2b65573ce90f8fc714799 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
""" | |
Created on Wed Sep 12 18:17:16 2018 | |
@author: strix | |
""" | |
import instaloader | |
L = instaloader.Instaloader() | |
L.login('#########username#######', '#######password##########') # (login) | |
profile = instaloader.Profile.from_username(L.context, '#########username of target##############') | |
list=[] | |
i=0 | |
for followee in profile.get_followees(): | |
print(i) | |
user={} | |
i+=1 | |
user["username"]=followee.username | |
user["id"]=followee.userid | |
user["bio"]=followee.biography | |
user["fec"]=followee.followees | |
user["frc"]=followee.followers | |
list.append(user) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment