2captcha

How to identify the 32 bit data-sitekey of ReCaptcha V2 to obtain a valid response programmatically using Selenium and Python Requests?

时光怂恿深爱的人放手 提交于 2020-06-09 04:03:47
问题 Pretty much new with captcha and Python requests. The captcha documentation says to copy the value of data-sitekey parameter. Here was my attempt, using Selenium to open the url and using Python requests to get a response. mainurl = 'https://imagetyperz.xyz/automation/recaptcha-v2.html' driver.get(mainurl) data_sitekey_class = WebDriverWait(driver, 20).until(EC.element_to_be_clickable((By.CLASS_NAME, "g-recaptcha"))).get_attribute("data-sitekey") print(data_sitekey_class) src_css_selector =

Solving Picture Captcha With Selenium and 2Captcha (JAVA)

点点圈 提交于 2020-04-17 20:51:52
问题 I have been struggling with solving captcha using selenium, java, 2captcha's api. It clicks the verify button but doesn't solve the picture, no errors pop out.. Here's my code: private void solveCaptcha(String apiKey) { String googleKey = "6Lcsv3oUAAAAAGFhlKrkRb029OHio098bbeyi_Hv"; String pageUrl = "https://secure.runescape.com/m=weblogin/loginform?theme=oldschool&mod=www"; TwoCaptchaService service = new TwoCaptchaService(apiKey, googleKey, pageUrl); try { String responseToken = service

2captcha API + selenium

喜欢而已 提交于 2020-02-25 04:06:31
问题 So i'm using this 2captcha API and testing it on a site like omegle.com. The captcha solving happens but the google captcha box doesnt get ticked and nothing happens. Wondering why that is, I know the 2captcha API runs perfectly... but does it only work for HTTP requests and not selenium? Here is the API link i inserted into the code below: https://github.com/2captcha/2captcha-api-examples/blob/master/ReCaptcha%20v2%20API%20Examples/Python%20Example/2captcha_python_api_example.py from

How to make imacro to select/solve the captcha?(RecaptchaV2)

元气小坏坏 提交于 2020-01-03 03:42:07
问题 I edited some code to auto solve recaptcha v2. I get the numbers from api of 2captcha/9kw and all is perfect! But after I get the numbers. LIKE: 258 How can I make each number to select this box? This is the code I have for this part: (but its not select the specific numbers, its select all the photos) Please if someone know how to fix it, please help. 'Fill the recognized characters to the verification box (Click the pictures 1..9) FRAME F=2 SET !ERRORIGNORE YES SET 1 EVAL("var s=\"{{answer}

How to manually call (find) the ReCaptcha Callback function?

眉间皱痕 提交于 2019-12-12 09:54:41
问题 I'm currently experimenting with captcha solving, and have decided to use the popular 2captcha service to do so. Their approach is to send them the recaptcha values (google recaptcha key & site thread), then they solve it and send me back the finished value that is supposed to be sent to google to check that the captcha have been solved. I'm stuck on the last step; using the returned solved value and send it to google. As the docs https://2captcha.com/2captcha-api#callback explain, I find no

Python + Selenium + 2Captcha

房东的猫 提交于 2019-12-11 16:39:21
问题 I'm trying solve re-captcha in a site using 2captcha service, but always returns to me the error: Traceback (most recent call last): File "C:\Users\pablo\Desktop\selenium\MercBitk.py", line 48, in GChrome.find_element_by_xpath("//*[@id='g-recaptcha-response']").send_keys(resp.text[3:]) File "C:\Python34\lib\site-packages\selenium\webdriver\remote\webelement.py", line 479, in send_keys 'value': keys_to_typing(value)}) File "C:\Python34\lib\site-packages\selenium\webdriver\remote\webelement.py"

Java Selenium + 2Captcha + Submit Form

醉酒当歌 提交于 2019-12-10 10:26:13
问题 Hello i am trying to automate some process here . i am using 2captch to solve captcha , please check out image . I have got site_key and api_key , now i am sending api_key + site_key and it is returning me response_token, i have added returned response token into g-recaptcha-response but it is not submitting form. what i want is that : i can solve captcha and submit form . Here is my current java code : System.setProperty("webdriver.chrome.driver", "chromedriver.exe"); ChromeDriver driver;

Submit a form using POST with g-recaptcha-response argument

守給你的承諾、 提交于 2019-12-08 16:55:21
问题 I want to submit a form from following web page: http://www.hzzo-net.hr/statos_OIB.htm First, I use 2captcha service to bypass recaptcha: # parameters api_key <- "c+++" api_url <- "http://2captcha.com/in.php" site_key <- "6Lc3SAgUAAAAALFnYxUbXlcJ8I9grvAPC6LFTKQs" hzzo_url <- "http://www.hzzo-net.hr/statos_OIB.htm" # GET method req_url <- paste0("http://2captcha.com/in.php?key=", api_key,"&method=userrecaptcha&googlekey=", site_key, "&pageurl=", hzzo_url) get_response <- POST(req_url) hzzo

Java Selenium + 2Captcha + Submit Form

送分小仙女□ 提交于 2019-12-06 02:51:53
Hello i am trying to automate some process here . i am using 2captch to solve captcha , please check out image . I have got site_key and api_key , now i am sending api_key + site_key and it is returning me response_token, i have added returned response token into g-recaptcha-response but it is not submitting form. what i want is that : i can solve captcha and submit form . Here is my current java code : System.setProperty("webdriver.chrome.driver", "chromedriver.exe"); ChromeDriver driver; driver = new ChromeDriver(); driver.manage().deleteAllCookies(); driver.manage().window().maximize();

How to manually call (find) the ReCaptcha Callback function?

别说谁变了你拦得住时间么 提交于 2019-12-06 00:18:21
I'm currently experimenting with captcha solving, and have decided to use the popular 2captcha service to do so. Their approach is to send them the recaptcha values (google recaptcha key & site thread), then they solve it and send me back the finished value that is supposed to be sent to google to check that the captcha have been solved. I'm stuck on the last step; using the returned solved value and send it to google. As the docs https://2captcha.com/2captcha-api#callback explain, I find no "submit" button hence need to find the recaptcha callback function myself, so I can call it. I do