2017-07-24 68 views
0

有人可以请解释我如何获得Instabot的追随者名单? 到目前为止,我写的测试:如何获得Instabot的追随者名单

from instabot import Bot 

bot = Bot() 
bot.login() 
followers = bot.get_user_followers("danbilzerian") 
for follower in followers: 
    print(follower) 

当我运行它,我只能插入我的登录名和密码,然后没有发生。 我已阅读文档和示例,但没有运气。

我错过了什么?

非常感谢您的帮助!

回答

0

你按照我的步骤吗? 从终端执行ipython。

from instabot import Bot 
bot = Bot() 
bot.login() 

输入usernama username_value

输入密码password_value

Ñ

followers = bot.get_user_followers("danbilzerian") 

enter image description here