firatkilinc7 / Instagram-Account-Creator

instagram account creator with selenium on python
1 stars 0 forks source link

Error while running #2

Open zgtibu opened 2 years ago

zgtibu commented 2 years ago

DevTools listening on ws://127.0.0.1:61487/devtools/browser/dc422a87-7374-4646-b839-7749f64191f2 C:\Users\91989\Desktop\AMF\Instagram-Account-Creator-main (1)\Instagram-Account-Creator-main\bot.py:53: DeprecationWarning: find_element_by_xpath is deprecated. Please use find_element(by=By.XPATH, value=xpath) instead chrome.find_element_by_xpath("/html/body/div[1]/section/main/div/div/div[1]/div/form/div[3]/div/label/input").send_keys(mail) C:\Users\91989\Desktop\AMF\Instagram-Account-Creator-main (1)\Instagram-Account-Creator-main\bot.py:54: DeprecationWarning: find_element_by_xpath is deprecated. Please use find_element(by=By.XPATH, value=xpath) instead chrome.find_element_by_xpath("/html/body/div[1]/section/main/div/div/div[1]/div/form/div[4]/div/label/input").send_keys(fullname) C:\Users\91989\Desktop\AMF\Instagram-Account-Creator-main (1)\Instagram-Account-Creator-main\bot.py:55: DeprecationWarning: find_element_by_xpath is deprecated. Please use find_element(by=By.XPATH, value=xpath) instead chrome.find_element_by_xpath("/html/body/div[1]/section/main/div/div/div[1]/div/form/div[5]/div/label/input").send_keys(username) C:\Users\91989\Desktop\AMF\Instagram-Account-Creator-main (1)\Instagram-Account-Creator-main\bot.py:56: DeprecationWarning: find_element_by_xpath is deprecated. Please use find_element(by=By.XPATH, value=xpath) instead chrome.find_element_by_xpath("/html/body/div[1]/section/main/div/div/div[1]/div/form/div[6]/div/label/input").send_keys(password) C:\Users\91989\Desktop\AMF\Instagram-Account-Creator-main (1)\Instagram-Account-Creator-main\bot.py:58: DeprecationWarning: find_element_by_xpath is deprecated. Please use find_element(by=By.XPATH, value=xpath) instead chrome.find_element_by_xpath("/html/body/div[1]/section/main/div/div/div[1]/div/form/div[7]/div/button").click()#click register C:\Users\91989\Desktop\AMF\Instagram-Account-Creator-main (1)\Instagram-Account-Creator-main\bot.py:68: DeprecationWarning: find_element_by_xpath is deprecated. Please use find_element(by=By.XPATH, value=xpath) instead chrome.find_element_by_xpath(birthday_xpath) Accounts created and saved acc.txt Error coming

zgtibu commented 2 years ago

Stuck in sign up page and getting closed

firatkilinc7 commented 2 years ago

Problem:

find_element_by_* commands are deprecated in the latest Selenium Python libraries.

Solution

With the new update, the parts written according to the old library will be corrected.
zgtibu commented 2 years ago

How to rectify this?

zgtibu commented 2 years ago

It is stuck when it is fetching from proxy site. i have created some proxy in proxy.txt.

roxys in ./assets/proxys/proxy.txt ?

1-> YES 2-> NO 2

DevTools listening on ws://127.0.0.1:61665/devtools/browser/53c06deb-1897-4668-bb1a-3962e0fbb2f5 [3208:3636:0413/130646.315:ERROR:util.cc(126)] Can't create base directory: C:\Program Files\Google\GoogleUpdater [20604:12812:0413/130720.841:ERROR:util.cc(126)] Can't create base directory: C:\Program Files\Google\GoogleUpdater [8452:10816:0413/130734.485:ERROR:ssl_client_socket_impl.cc(997)] handshake failed; returned -1, SSL error code 1, net_error -101 [5856:11840:0413/130747.060:ERROR:gpu_init.cc(446)] Passthrough is not supported, GL is disabled, ANGLE is [16868:18984:0413/130821.562:ERROR:gpu_init.cc(446)] Passthrough is not supported, GL is disabled, ANGLE is

firatkilinc7 commented 2 years ago

Solution

1 - If you have proxies in proxy.txt file and it gets stuck, your proxy is bad
2 - Your chrome version and driver version are not the same.
zgtibu commented 2 years ago
  1. I put option 2 only to fetch it from your site
  2. it is same.