-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
login error #22
Comments
and, for the first time, it logged in correctly. for the second time it throws error |
I ran into this same issue. For me the solution that worked was deleting the config directory that gets created on bot.login(). For some reason the data stored in this directory is not aligned with the api and throws the ds_user error. |
Add this code top of your file:
|
import os This is not working for me. I had to put it into try, except because then I would have index error. But I still get 429 errors. |
`import shutil Instabotを初期化from instabot import Bot ログインを試行し、configディレクトリを作成my_bot.login(username="YourUsername", password="YourPassword") configディレクトリを再帰的に削除shutil.rmtree('config') |
python 3.9
Code:
from instabot import Bot
bot = Bot()
bot.login(username="username", password="password")
error is: ds_user
The text was updated successfully, but these errors were encountered: