Deathbycaptcha (token recaptcha,type=4) with request?

Nighcore2

Registered Member
Joined
Apr 30, 2019
Messages
69
Reaction score
4
So according to DBC api
The first one is to make a POST request to the URL in the form's action attribute with the token set as the value of the textarea field whose id is g-recaptcha-response. The other fields can be filled as you desire. This is the recommended method to consume the token given that it does not require browser emulation nor DOM manipulation.

Okay so its possible to just with a simple post, but how? anyone has any simple example of how to do it? where and how i have to pass the captcha response string?
 
So according to DBC api
The first one is to make a POST request to the URL in the form's action attribute with the token set as the value of the textarea field whose id is g-recaptcha-response. The other fields can be filled as you desire. This is the recommended method to consume the token given that it does not require browser emulation nor DOM manipulation.

Okay so its possible to just with a simple post, but how? anyone has any simple example of how to do it? where and how i have to pass the captcha response string?
Honestly, I advise you to stay away from them, Their service sucks compare to others
 
Honestly, I advise you to stay away from them, Their service sucks compare to others
i already have 10$ balance, i need some way of solving captcha witouth browser emulation, pure http calls. Cause i just need to send captcha + fill one text box as data, so no browser. 2captcha also offers service but i just want to understand how to do it with dbc and python once i have i will test other services for see what is the best rate/speed.


what would you suggest me for these? I need to solve recaptcha withouth browser interation(just with token + website) and send it though http calls witouth webdriver, in python 3.x
 
So according to DBC api
The first one is to make a POST request to the URL in the form's action attribute with the token set as the value of the textarea field whose id is g-recaptcha-response. The other fields can be filled as you desire. This is the recommended method to consume the token given that it does not require browser emulation nor DOM manipulation.

Okay so its possible to just with a simple post, but how? anyone has any simple example of how to do it? where and how i have to pass the captcha response string?

For example, to solve the recaptcha v2 demo form at https://www.google.com/recaptcha/api2/demo you can follow the 4 steps described below.

STEP #1
=======

We first need to find the site key, for this particular case it is 6Le-wvkSAAAAAPBMRTvw0Q4Muexq9bi0DJwx_mJ- as we can see at page source code at line ...data-sitekey="6Le-wvkSAAAAAPBMRTvw0Q4Muexq9bi0DJwx_mJ-"...

STEP #2
=======
Then with the target website url and sitekey we chose one DBC client lib.
In the sample we will use the python client lib.

Here you can download the lib https://static.deathbycaptcha.com/files/dbc_api_v4_6_python3.zip

STEP #3
=======
Use the example called `new_recaptcha_token_image.py` and adjust sitekey and url.
Should looks similar to this:

Captcha_dict = {
'googlekey': '6Le-wvkSAAAAAPBMRTvw0Q4Muexq9bi0DJwx_mJ-',
'pageurl': 'https://www.google.com/recaptcha/api2/demo'
}

After 50 seconds more or less depending on service load you will receive the recaptcha v2 solution, a long string like this:

03AOLTBLThTFc6gBBU2SbxTMrt6v49jsGOqQrSvBTOObIC2aICDmDY31R6AXoeKQggMJ7bfKeiZJOyR4N5GVH8rFHJfGOf4A7B_FgHkHye6_ZDUUG5n3Q1SteJkFlvy4eTxNNUD4Eyzjwe2kVrQJr3K30Os0jXFtIs_htwMMX1ylLwcfsuXoHg0g8NoqERUUW0mG-RIlS6Vk8VYNG4EWKvaLFDzyDCeMb_qn1kYfB7WcIHYIUZU5BWdmzL7Uyu4DL_cojNL5HUQqH4vqoazVkUDE-ynVAZRyzyipmxkkj_CXsh1q_aMUxopoRvNDQyHy05EtYdF8NuOQdicZOix8lAiaWCssWcWW_dtQ

STEP #4
=======
Now with the solution we can post the form data, in this specific sample we only need to

HTTP post to https://www.google.com/recaptcha/api2/demo
With request body g-recaptcha-response=<token-solution>

# Python sample
import requests

post_data = {"g-recaptcha-response": "<token-solution>"}
resp = requests.post("https://www.google.com/recaptcha/api2/demo", data=post_data)
print(resp.text)

--------------------------------------------------------------------------------------------------------------------------------------
@Dung Nguyen
My apologies for the bad experience you may have faced with the service.
I'm happy to inform you that, at the moment, our service/recaptcha v2 solution is working fine for thousands of users! As such, I'd really like to help you get the most out of it. I've PM'd you accordingly.
 
For example, to solve the recaptcha v2 demo form at https://www.google.com/recaptcha/api2/demo you can follow the 4 steps described below.

STEP #1
=======

We first need to find the site key, for this particular case it is 6Le-wvkSAAAAAPBMRTvw0Q4Muexq9bi0DJwx_mJ- as we can see at page source code at line ...data-sitekey="6Le-wvkSAAAAAPBMRTvw0Q4Muexq9bi0DJwx_mJ-"...

STEP #2
=======
Then with the target website url and sitekey we chose one DBC client lib.
In the sample we will use the python client lib.

Here you can download the lib https://static.deathbycaptcha.com/files/dbc_api_v4_6_python3.zip

STEP #3
=======
Use the example called `new_recaptcha_token_image.py` and adjust sitekey and url.
Should looks similar to this:

Captcha_dict = {
'googlekey': '6Le-wvkSAAAAAPBMRTvw0Q4Muexq9bi0DJwx_mJ-',
'pageurl': 'https://www.google.com/recaptcha/api2/demo'
}

After 50 seconds more or less depending on service load you will receive the recaptcha v2 solution, a long string like this:

03AOLTBLThTFc6gBBU2SbxTMrt6v49jsGOqQrSvBTOObIC2aICDmDY31R6AXoeKQggMJ7bfKeiZJOyR4N5GVH8rFHJfGOf4A7B_FgHkHye6_ZDUUG5n3Q1SteJkFlvy4eTxNNUD4Eyzjwe2kVrQJr3K30Os0jXFtIs_htwMMX1ylLwcfsuXoHg0g8NoqERUUW0mG-RIlS6Vk8VYNG4EWKvaLFDzyDCeMb_qn1kYfB7WcIHYIUZU5BWdmzL7Uyu4DL_cojNL5HUQqH4vqoazVkUDE-ynVAZRyzyipmxkkj_CXsh1q_aMUxopoRvNDQyHy05EtYdF8NuOQdicZOix8lAiaWCssWcWW_dtQ

STEP #4
=======
Now with the solution we can post the form data, in this specific sample we only need to

HTTP post to https://www.google.com/recaptcha/api2/demo
With request body g-recaptcha-response=<token-solution>

# Python sample
import requests

post_data = {"g-recaptcha-response": "<token-solution>"}
resp = requests.post("https://www.google.com/recaptcha/api2/demo", data=post_data)
print(resp.text)

--------------------------------------------------------------------------------------------------------------------------------------
@Dung Nguyen
My apologies for the bad experience you may have faced with the service.
I'm happy to inform you that, at the moment, our service/recaptcha v2 solution is working fine for thousands of users! As such, I'd really like to help you get the most out of it. I've PM'd you accordingly.
For example, to solve the recaptcha v2 demo form at https://www.google.com/recaptcha/api2/demo you can follow the 4 steps described below.

STEP #1
=======

We first need to find the site key, for this particular case it is 6Le-wvkSAAAAAPBMRTvw0Q4Muexq9bi0DJwx_mJ- as we can see at page source code at line ...data-sitekey="6Le-wvkSAAAAAPBMRTvw0Q4Muexq9bi0DJwx_mJ-"...

STEP #2
=======
Then with the target website url and sitekey we chose one DBC client lib.
In the sample we will use the python client lib.

Here you can download the lib https://static.deathbycaptcha.com/files/dbc_api_v4_6_python3.zip

STEP #3
=======
Use the example called `new_recaptcha_token_image.py` and adjust sitekey and url.
Should looks similar to this:

Captcha_dict = {
'googlekey': '6Le-wvkSAAAAAPBMRTvw0Q4Muexq9bi0DJwx_mJ-',
'pageurl': 'https://www.google.com/recaptcha/api2/demo'
}

After 50 seconds more or less depending on service load you will receive the recaptcha v2 solution, a long string like this:

03AOLTBLThTFc6gBBU2SbxTMrt6v49jsGOqQrSvBTOObIC2aICDmDY31R6AXoeKQggMJ7bfKeiZJOyR4N5GVH8rFHJfGOf4A7B_FgHkHye6_ZDUUG5n3Q1SteJkFlvy4eTxNNUD4Eyzjwe2kVrQJr3K30Os0jXFtIs_htwMMX1ylLwcfsuXoHg0g8NoqERUUW0mG-RIlS6Vk8VYNG4EWKvaLFDzyDCeMb_qn1kYfB7WcIHYIUZU5BWdmzL7Uyu4DL_cojNL5HUQqH4vqoazVkUDE-ynVAZRyzyipmxkkj_CXsh1q_aMUxopoRvNDQyHy05EtYdF8NuOQdicZOix8lAiaWCssWcWW_dtQ

STEP #4
=======
Now with the solution we can post the form data, in this specific sample we only need to

HTTP post to https://www.google.com/recaptcha/api2/demo
With request body g-recaptcha-response=<token-solution>

# Python sample
import requests

post_data = {"g-recaptcha-response": "<token-solution>"}
resp = requests.post("https://www.google.com/recaptcha/api2/demo", data=post_data)
print(resp.text)

--------------------------------------------------------------------------------------------------------------------------------------
@Dung Nguyen
My apologies for the bad experience you may have faced with the service.
I'm happy to inform you that, at the moment, our service/recaptcha v2 solution is working fine for thousands of users! As such, I'd really like to help you get the most out of it. I've PM'd you accordingly.
Hello. How do I make this work Asyncronously. I'm using this with puppeteer and when the code into the decode part, it just work in the background when the rest of the code keep going and when the captcha solution is returned the code has already done running. How do I fix this?
 
Hello. How do I make this work Asyncronously. I'm using this with puppeteer and when the code into the decode part, it just work in the background when the rest of the code keep going and when the captcha solution is returned the code has already done running. How do I fix this?

Hi, thanks for reaching out! I've PM'd you in order to better assist you (cause we'd need more details to properly tackle your specific case).
 
Back
Top