Closed hamaad-latif closed 4 years ago
Hey @gigaByte404,
We did a quick check and this issue looks very darn similar to
This could be a coincidence, but if any of these issues solves your problem then I did a good job :smile:
If not, the maintainers will get to this issue shortly.
Cheers, Your Friendly Neighborhood ProBot
Before submitting an issue, make sure you have:
Which example file are you using?
Describe your Question/Issue:
I am trying to run like_hashtags.py this example but it stuck between 2-4% and it's taking a lot of time.
Paste the output of
python -V
here:Code you are using:
""" instabot example
"""
import argparse import os import sys
sys.path.append(os.path.join(sys.path[0], "../")) from instabot import Bot # noqa: E402
parser = argparse.ArgumentParser(add_help=True) parser.add_argument("-u", type=str, help="username") parser.add_argument("-p", type=str, help="password") parser.add_argument("-proxy", type=str, help="proxy") parser.add_argument("hashtags", type=str, nargs="+", help="hashtags") args = parser.parse_args()
bot = Bot() bot.login(username=args.u, password=args.p, proxy=args.proxy)
for hashtag in args.hashtags: bot.like_hashtag(hashtag)
Error/Debug Log: