hannad4 / instaFollow

A follower/following tracker for medium sized (~0-300 followers/following) Instagram accounts
0 stars 0 forks source link

another error #3

Closed Boryyy closed 3 years ago

Boryyy commented 3 years ago

hey , like u said last time , yes i need this for a project and if u can help me that would be great , i fixed everything u told me and it works fine , it goes in my profile , goes to followers , does the scan , then stuck at 80% of followers , and it closes itself :| (i tried doing my own account , not the bot one , still the same )

image

hannad4 commented 3 years ago

I am unable to produce this error. Every account I have tried it on works well.

It would be more helpful if you can provide more details as to what you see beyond just "it doesn't work". What does the browser show when this happens? Did you try running this in debug mode to step through the program and see what the issue is?

if you can let me know what the account is that is being tracked, I can try running it and seeing if I produce the same error.

Boryyy commented 3 years ago

yea sorry about that , i will give u all the info

screenshot when the error happen , it does everything , scan 80% of the followers and then it stucks for like 4 seconds , then closes itself image

screenshot of the debugger image

last message before it closes itself , the "...." of the scrolling down in followers image

Boryyy commented 3 years ago

maybe it bugs when it checks for followers , and just need a new line just to double check everytime it gets stuck?

Boryyy commented 3 years ago

and yea thats the problem , when it gets stuck , if i keep scroll myself the program does not crash, i need to do it manually when it gets stuck.

do u have discord so i can send u a video of the full run?

hannad4 commented 3 years ago

what is the total number of followers that the account has?

it seems like the problem is occurring with the way the obtain list function is implemented, and that if it takes too long to grab the list, then the error is raised

if you can tell me which account you are using to test, I can try fixing it on my end. otherwise, I will have to close this issue since I cannot reproduce the error and I'm not actively working on this project anymore anyways

Boryyy commented 3 years ago

send me ur email or somthing i can send u the whole code , or the username im trying to do?

hannad4 commented 3 years ago

send your program to hannad4@tcnj.edu

Boryyy commented 3 years ago

done

hannad4 commented 3 years ago

After looking at your code, it seems that the account will need a different method for scraping all the followers you have. I would recommend you try going beyond modifying just this code and try this method (see comment labeled March 2020): https://stackoverflow.com/questions/37233803/how-to-web-scrape-followers-from-instagram-web-browser

Or better yet, you can try using Instaloader to pull your data, which might be closer to your needs.

Closing out this issue as I will not be able to help with this problem any more unless I re-write the program for this particular scenario