2017-07-24 61 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

相關問題