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

Can't use hashtag db! #1064

Closed partTime-NeRD closed 4 years ago

partTime-NeRD commented 5 years ago

Please follow the guide below


Before submitting an issue, make sure you have:

Purpose of your issue?


The following sections requests more details for particular types of issues, you can remove any section (the contents between the triple ---) not applicable to your issue.


For a bug report, you must include the Python version used, code that will reproduce the error, and the error log/traceback.

Paste the output of python -V here:

Code:

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

bot = Bot()
bot.login(username="user", password="pass")
followers = bot.get_user_followers(bot.user_id)

Error/Debug Log:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ZeroDivisionError: integer division or modulo by zero

Describe your issue

Hello! Bot seem to be running ok! Nice piece of tech.

My issue is I get the error message:

2019-09-28 18:50:28,636 - INFO - error, read exception bellow 2019-09-28 18:50:28,636 - INFO - local variable 'hashtag_id' referenced before assignment

This happens when using multi_script_CLI.py, liking function, trying to upload the hastags using hashtag database: hashtagsdb.txt If I choose to manually insert the hashtags into the terminal (which is just about pasting in the content of hashtagsdb.txt) it works smoothly.

Hashtags in the text are separated by spaces only. I tried to separate them by putting each on a different line but makes a worst mess. Thanks...

stale[bot] commented 4 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.