Closed snik123 closed 7 years ago
in bot.follow_following
you should put the user_id or username of a user which followings you want to follow
still isnt working :/
alright i got it to work, now my question is is how to add my own delay to it
There are a lot of arguments of Bot
class, there are some of delays. You can take a loot at them at Readme.md file on the main repository page
Please follow the guide below
Before submitting an issue, make sure you have:
Purpose of your issue?
For a bug report, you must include the Python version used, code that will reproduce the error, and the error log/traceback.
Python 3.6.2 Code: """ instabot example Workflow: Follow user's following by username. """
import sys import os import time import random from tqdm import tqdm import argparse
sys.path.append(os.path.join(sys.path[0], '../')) from instabot import Bot
parser = argparse.ArgumentParser(add_help=True) parser.add_argument('-u', type=str, help="#") parser.add_argument('-p', type=str, help="#") parser.add_argument('-proxy', type=str, help="proxy") parser.add_argument('-users', type=str, nargs='+', help='#') args = parser.parse_args()
bot = Bot() bot.login(username=args.u, password=args.p, proxy=args.proxy)
for username in args.users: bot.follow_following('#') (<---- idk what to put here)
well it gives me this error, and im not sure what to put after bot.follow_following. Im sorry i'm a complete beginner at python.