diezo / Ensta

🔥 Fast & Reliable Python Package For Instagram API - 2024
https://bit.ly/ensta-discord
MIT License
371 stars 44 forks source link

Followers not working properly #23

Closed jotauses closed 11 months ago

jotauses commented 1 year ago

If the same example from the documentation is used, the number of followers seems to be random, each time it is executed it returns different and repeated followers.

from ensta import Host

host = Host("username", "password")
followers = host.followers("forgeon_es")
users = [user for user in followers]
print(len(users)) # random number every time
diezo commented 1 year ago

I've tested it on my machine and it works fine. Every time it returns exactly 6474 followers. Can you give more details? What are the numbers you get each time?

jotauses commented 1 year ago
from ensta import Host

host = Host("username", "password")
followers = host.followers("forgeon_es")
users = [user for user in followers]
print(len(users)) # random number every time

PS C:\insta_tests> 5546

from ensta import Host

host = Host("username", "password")
followers = host.followers("forgeon_es")
users = [user for user in followers]
print(len(users)) # random number every time

PS C:\insta_tests> 5542

from ensta import Host

host = Host("username", "password")
followers = host.followers("forgeon_es")
users = [user for user in followers]
print(len(users)) # random number every time

PS C:\insta_tests> 5564

I made my own function to get followers and the same thing happens to me. I have tried other libraries like instagrapi and the same thing keeps happening. In this specific case it is returning about 1000 fewer followers. I can show it to you privately with any account, public or private, it gives the same result. I have tried other accounts with 600-700 followers and it gives about 100 less followers. Also, the users seem to be random because if I run it twice and make the difference between both lists, there are more than 300 different users.