ohld / igbot

šŸ™ Free scripts, bots and Python API wrapper. Get free followers with our auto like, auto follow and other scripts!
https://hikerapi.com/p/N2P6iqiM
Apache License 2.0
4.69k stars 1.47k forks source link

AssertionError #1077

Closed deadcyph3r closed 4 years ago

deadcyph3r commented 4 years ago

I am getting AssertionError error, what should I do?

File "instabot/examples/multi_script_CLI.py", line 686, in bot.login() File "/root/Desktop/bots/insta/lib/python3.7/site-packages/instabot/bot/bot.py", line 364, in login if self.api.login(**args) is False: File "/root/Desktop/bots/insta/lib/python3.7/site-packages/instabot/api/api.py", line 201, in login if (self.load_uuid_and_cookie(load_cookie=use_cookie, load_uuid=use_uuid) is True): File "/root/Desktop/bots/insta/lib/python3.7/site-packages/instabot/api/api.py", line 161, in load_uuid_and_cookie return load_uuid_and_cookie(self, load_uuid=load_uuid, load_cookie=load_cookie) File "/root/Desktop/bots/insta/lib/python3.7/site-packages/instabot/api/api_login.py", line 199, in load_uuid_and_cookie assert cookie_username == self.username.lower() AssertionError

ohld commented 4 years ago

Delete txt files in your folder and try again, donā€™t forget to enter your username with lowercase.

Gordon0918 commented 4 years ago

Delete txt files in your folder and try again, donā€™t forget to enter your username with lowercase.

Deleting the username.checkpoint and the username _uuid_and_cookie.json can be solved, but how to use the last cookie when logging in again, the use_cookie option is True

Gordon0918 commented 4 years ago

Delete txt files in your folder and try again, donā€™t forget to enter your username with lowercase.

Deleting the username.checkpoint and the username _uuid_and_cookie.json can be solved, but how to use the last cookie when logging in again, the use_cookie option is True

I know, I use the phone number + password to log in, but the ds_user field in the cookie file is my username, login with the user name + password will work normally.