eaabak / instagram-auto-create-account

An automatic account creation bot script for Instagram.
450 stars 132 forks source link

botAccountCreate.py #37

Open yosia-md opened 3 years ago

yosia-md commented 3 years ago

welp i already set the chromedriver.exe but it didnt work it said this

usage: botAccountCreate.py [-h] (--firefox | --chrome) botAccountCreate.py: error: one of the arguments --firefox --chrome is required

yosia-md commented 3 years ago

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"chromedriver.exe")

I got the code just like this anyone?
gazitan790 commented 3 years ago

Refering to your problem.I also had the same issue since i could not do anything about it this is what i did.

i removed and added this:

driver= webdriver.Chrome(executable_path=r"chromedriver.exe") \\ this part is already there and i did not remove or add driver.get("https://www.instagram.com/accounts/emailsignup/") time.sleep(8) try: cookie = driver.find_element_by_xpath('/html/body/div[2]/div/div/div/div[2]/button[1]').click() except: pass name = account.username()

Fill the email value

email_field = driver.find_element_by_name('emailOrPhone') fake_email = email.getFakeMail() email_field.send_keys(fake_email) print(fake_email)

it seem to be working

gazitan790 commented 3 years ago

if you are confused contact my gmail- gazitan98@gmail.com i'll send you the file

sheikabbas24 commented 3 years ago

issue pls help me to clear

Screenshot 2021-08-06 021105

usage: botaccountcreate.py [-h] (--firefox | --chrome) botaccountcreate.py: error: one of the arguments --firefox --chrome is required