instagram-auto-create-account
instagram-auto-create-account copied to clipboard
options.add_argument
Hello,
I added my chromedriver path in the file :
But when i try to launch the bot, here is what i got :
Can someone help me please ?
Same error. Please someone help!
delete this shit
parser = argparse.ArgumentParser() group = parser.add_mutually_exclusive_group(required=True) group.add_argument("--firefox", action="store_true", help="Use Firefox - geckodriver") group.add_argument("--chrome", action="store_true", help = "Use Chrome - chromedriver")
and
if args.firefox: profile = webdriver.FirefoxProfile() profile.set_preference("general.useragent.ovrride", userAgent) driver = webdriver.Firefox(firefox_profile=profile, executable_path=r"your gecko driver here")
and
if args.chrome: from selenium.webdriver.chrome.options import Options options = Options() options.add_argument(f'user-agent={userAgent}') driver= webdriver.Chrome(options=options, executable_path=r"your chrome driver here")
and add this:
driver = webdriver.Chrome(r'your driver path here')
or if you're using firefox:
driver = webdriver.Firefox(r'your driver path here')
i'll open a pull request with fixed bugs & some new features like save into file.
Oh thanks ! It works better but i have some problem, the account infos are added to the file but the account do not work.
The script do not validate the account, it just type infos and then it stop at this point :
and when i click "accept" i can see all the infos but the script do not continue to signin in
I think the script do not want to click
Oh thanks ! It works better but i have some problem, the account infos are added to the file but the account do not work.
The script do not validate the account, it just type infos and then it stop at this point :
and when i click "accept" i can see all the infos but the script do not continue to signin in
I think the script do not want to click
change the cookies xpath. if it's not signin in it means your ip or account is blocked.