ambushneupane / InstaBot

7 stars 1 forks source link

issue with type casting #1

Closed codeperfectplus closed 4 years ago

codeperfectplus commented 4 years ago
File "/home/codeperfectplus/Documents/PrivateTestCode/Automation/InstaBot/instascript.py", line 51, in following
    self.numoffollowing = int(values)                                                                             
ValueError: invalid literal for int() with base 10: '1,700'
ambushneupane commented 4 years ago

Check it! may be this time it will work

codeperfectplus commented 4 years ago

Now the error is solved but it's scrolling the list not unfollowing anyone. maybe something is broken.

ambushneupane commented 4 years ago

Well It's not that advanced to unfollow while scrolling down the list. What it does is it scrolls the followers and following list and grabs the link of the account which has not follwed us.It then goes to the url of those accounts and then unfollows the account.But it won't unfollow some bigger personalities accounts (based on their followers,I am assuming that they have more than 1000 followers but you can assume your own ).If you are getting any kind of error while running the code Inform me.I will try my best to fix it out!!!

codeperfectplus commented 4 years ago

Thanks, for fixing the problem. I am just learning selenium.