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.72k stars 1.47k forks source link

bot.searchUsers() just return True not the result #376

Closed peprog closed 6 years ago

peprog commented 7 years ago

Python 2.7.10 Code:

# Example code that will produce the error reported
from instabot import Bot

bot = Bot()
bot.login(username="my_username", password="my_password")
users = bot.searchUsers(query="game")
print "=====%s" % users

Error/Debug Log:

2017-10-26 01:23:48,153 - INFO - Login success as my_username!
===== True

It always return True no matter what I search, I have tried with several different usernames and even python 3.6 but still the same issue, any idea why is that?

stale[bot] commented 6 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

sudoguy commented 6 years ago

Added method for searching users by username https://github.com/instagrambot/instabot/commit/5318a7efdfaed17aa769c9fcd4832b5b73307f94