Search code examples
pythonweb-scrapinginstagraminstaloader

Follower Count instaloader


I want to print the amount of followers the target user has using instaloader.

def FollowerCount():
    return(profile.get_followers())
print(FollowerCount())

but I get this

<instaloader.nodeiterator.NodeIterator object at 0x000001E26A2CF4F0>

Solution

  • def FollowerCount():
        followers = profile.followers
        print(followers)