Open Ashish117 opened 4 years ago
is this dead
is this dead
It is not dead, you just need to update the xpaths for your own use. Its easy two step process.. xpaths are in accouncgen python file.
Traceback (most recent call last): File "accountGenerator.py", line 93, in <module> year_in = Select(browser.find_element_by_xpath('//*[@title="Year:"]')) File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 394, in find_element_by_xpath return self.find_element(by=By.XPATH, value=xpath) File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element return self.execute(Command.FIND_ELEMENT, { File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 321, in execute self.error_handler.check_response(response) File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/selenium/webdriver/remote/errorhandler.py", line 242, in check_response raise exception_class(message, screen, stacktrace) selenium.common.exceptions.NoSuchElementException: Message: no such element: Unable to locate element: {"method":"xpath","selector":"//*[@title="Year:"]"} (Session info: chrome=81.0.4044.138)
You need to update xpath for your own use in accountGenerator.py, its a simple two step process.. google it.
@tsankesara Hey, I have fixed this issue and it is now inputting everything and it closes the browser after saving username but the problem is that the account is not created so when we try to login Instagram says: "The username you entered doesn't belong to an account. Please check your username and try again."
@tsankesara Hey, I have fixed this issue and it is now inputting everything and it closes the browser after saving username but the problem is that the account is not created so when we try to login Instagram says: "The username you entered doesn't belong to an account. Please check your username and try again."
Did the browser show when account is created, or it shows that captcha screen. I ran into this problem once. But it was only for a few blocked proxies..
No, when i click Next button after entering DOB it is asking for email verification code but when the script runs it is not going to the verification page.. also i tried creating account manually and this happen same with manual account I think we have to complete the email verification to complete the signup process.
@tsankesara Hey, I have fixed this issue and it is now inputting everything and it closes the browser after saving username but the problem is that the account is not created so when we try to login Instagram says: "The username you entered doesn't belong to an account. Please check your username and try again."
Also I'll be rebuilding this from scratch again, cause when I first made it, I was just getting started with programming..
Okay, I put 40 seconds in sleep and now it is showing verification page but we can't complete the process without the verification code
Okay, I put 40 seconds in sleep and now it is showing verification page but we can't complete the process without the verification code
Yeah, I too realised it now, email verification was optional when I create it. So I'll be using one of many temp email website for verification.. and then be saving email username and password, I am also aiming to make it headless, cause no one like poping screen when script is running..
Bro I don’t think it is possible because After the email verification there is a captcha verification too and we cant do nothing about that. Or maybe you can try with 2captcha which is paid and input the captcha key as a config.
On Sun, 2 Aug 2020 at 1:15 PM, Teerth Sankesara notifications@github.com wrote:
Okay, I put 40 seconds in sleep and now it is showing verification page but we can't complete the process without the verification code
Yeah, I too realised it now, email verification was optional when I create it. So I'll be using one of many temp email website for verification.. and then be saving email username and password, I am also aiming to make it headless, cause no one like poping screen when script is running..
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/tsankesara/Instagram-Mass-Account_Generator/issues/2#issuecomment-667641372, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADMR5PLM5ULVHFCMT5T6S2TR6UKQJANCNFSM4NCZ7XFQ .
Bro I don’t think it is possible because After the email verification there is a captcha verification too and we cant do nothing about that. Or maybe you can try with 2captcha which is paid and input the captcha key as a config.
On Sun, 2 Aug 2020 at 1:15 PM, Teerth Sankesara notifications@github.com wrote:
Okay, I put 40 seconds in sleep and now it is showing verification page but we can't complete the process without the verification code
Yeah, I too realised it now, email verification was optional when I create it. So I'll be using one of many temp email website for verification.. and then be saving email username and password, I am also aiming to make it headless, cause no one like poping screen when script is running..
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/tsankesara/Instagram-Mass-Account_Generator/issues/2#issuecomment-667641372, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADMR5PLM5ULVHFCMT5T6S2TR6UKQJANCNFSM4NCZ7XFQ .
I'll be making it work till it reaches captcha, if I have base code ready, if anyone really wants to use it they can config any captcha service themselves..
Traceback (most recent call last): File "accountGenerator.py", line 93, in <module> year_in = Select(browser.find_element_by_xpath('//*[@title="Year:"]')) File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 394, in find_element_by_xpath return self.find_element(by=By.XPATH, value=xpath) File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element return self.execute(Command.FIND_ELEMENT, { File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 321, in execute self.error_handler.check_response(response) File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/selenium/webdriver/remote/errorhandler.py", line 242, in check_response raise exception_class(message, screen, stacktrace) selenium.common.exceptions.NoSuchElementException: Message: no such element: Unable to locate element: {"method":"xpath","selector":"//*[@title="Year:"]"} (Session info: chrome=81.0.4044.138)
You need to update xpath for your own use in accountGenerator.py, its a simple two step process.. google it.
hi, im having troubles with this, tried searching on google but without luck can you please help me out thx in advance
@lcostaracing7 replace code this from line 94
month_in = Select(browser.find_element_by_xpath('//*[@title="Month:"]'))
day_in = Select(browser.find_element_by_xpath('//*[@title="Day:"]'))
year_in.select_by_index(year_index)
print("\n Years Entred \n")
sleep(1)
month_in.select_by_index(month_index)
print("\n Month Entred \n")
sleep(1)
day_in.select_by_index(day_index)
print("\n Date Entred \n")
sleep(5)
try:
next1 = browser.find_element_by_xpath('//*[@id="react-root"]/section/main/div/article/div/div[1]/div/form/div[7]/div/button')
next1.click()
except NoSuchElementException:
next1 = browser.find_element_by_xpath('//*[@id="react-root"]/section/main/div/article/div/div[1]/div/div[5]/div[2]/button')
next1.click()
sleep(400)
with open('username.txt', 'w') as f_output:
f_output.write(username)
browser.close()
i = i+1
@lcostaracing7 replace code this from line 94
month_in = Select(browser.find_element_by_xpath('//*[@title="Month:"]')) day_in = Select(browser.find_element_by_xpath('//*[@title="Day:"]')) year_in.select_by_index(year_index) print("\n Years Entred \n") sleep(1) month_in.select_by_index(month_index) print("\n Month Entred \n") sleep(1) day_in.select_by_index(day_index) print("\n Date Entred \n") sleep(5) try: next1 = browser.find_element_by_xpath('//*[@id="react-root"]/section/main/div/article/div/div[1]/div/form/div[7]/div/button') next1.click() except NoSuchElementException: next1 = browser.find_element_by_xpath('//*[@id="react-root"]/section/main/div/article/div/div[1]/div/div[5]/div[2]/button') next1.click() sleep(400) with open('username.txt', 'w') as f_output: f_output.write(username) browser.close() i = i+1
thank you,and sorry but i tried replacing it but still get this error
selenium.common.exceptions.NoSuchElementException: Message: no such element: Unable to locate element: {"method":"xpath","selector":"//*[@title="Years:"]"}
@lcostaracing7 replace code this from line 94
month_in = Select(browser.find_element_by_xpath('//*[@title="Month:"]')) day_in = Select(browser.find_element_by_xpath('//*[@title="Day:"]')) year_in.select_by_index(year_index) print("\n Years Entred \n") sleep(1) month_in.select_by_index(month_index) print("\n Month Entred \n") sleep(1) day_in.select_by_index(day_index) print("\n Date Entred \n") sleep(5) try: next1 = browser.find_element_by_xpath('//*[@id="react-root"]/section/main/div/article/div/div[1]/div/form/div[7]/div/button') next1.click() except NoSuchElementException: next1 = browser.find_element_by_xpath('//*[@id="react-root"]/section/main/div/article/div/div[1]/div/div[5]/div[2]/button') next1.click() sleep(400) with open('username.txt', 'w') as f_output: f_output.write(username) browser.close() i = i+1
thank you,and sorry but i tried replacing it but still get this error
selenium.common.exceptions.NoSuchElementException: Message: no such element: Unable to locate element: {"method":"xpath","selector":"//*[@title="Years:"]"}
Try This . Update Your xpath as shown here
Hi, until now, the program does not create an account for me, I would like to help you with the code or something and also at once with what is easy with seleenium I want to create something that saves the proxies and the user to start it with This is because I understand that if it starts from a different IP, it is blocked by a program, well I miss that it is only to send the requests as to who you want to follow
this program is equal to a bot or you do not explain to me?