gpt4 book ai didi

python - Python 模块 INSTABOT 登录问题

转载 作者:行者123 更新时间:2023-12-04 17:19:10 29 4
gpt4 key购买 nike

Instabot login error

我在过去两天尝试了代码,我从我的 VS 代码编辑器收到了消息,请任何人帮助我解决问题。

代码

from instabot import Bot
bot = Bot()
bot.login(username="the_username_hidden" , password="password_hidden")
print("done")

消息获取

2021-04-26 06:38:18,970 - INFO - Instabot version: 0.117.0 Started
2021-04-26 06:38:18,971 - INFO - Not yet logged in starting: PRE-LOGIN FLOW!
2021-04-26 06:38:19,434 - ERROR - Request returns 429 error!
2021-04-26 06:38:19,434 - WARNING - That means 'too many requests'. I'll go to sleep for 5 minutes.
2021-04-26 06:43:20,237 - ERROR - Request returns 429 error!
2021-04-26 06:43:20,237 - WARNING - That means 'too many requests'. I'll go to sleep for 10 minutes.
2021-04-26 06:53:21,001 - ERROR - Request returns 429 error!
2021-04-26 06:53:21,001 - WARNING - That means 'too many requests'. I'll go to sleep for 15 minutes.

最佳答案

#随着 sleep ,这将不起作用。出现此错误是因为您发出了太多请求。机器人 = 机器人 ()

bot.login(...)

试试这个,如果有效请告诉我。可能是侥幸。

关于python - Python 模块 INSTABOT 登录问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/67259837/

29 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com