You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 5, 2021. It is now read-only.
Copy file name to clipboardExpand all lines: readme.md
+24-5
Original file line number
Diff line number
Diff line change
@@ -145,15 +145,34 @@ print (geetest_response)
145
145
```
146
146
147
147
Response will look like this: `{'challenge': '...', 'validate': '...', 'seccode': '...'}`
148
+
## Capy & hCaptcha
148
149
149
-
## Capy
150
+
This are two different captcha types, but both are similar to reCAPTCHA. They require a `pageurl` and `sitekey` for solving. hCaptcha is the newest one.
150
151
151
-
This captcha requires a `page_url` and `sitekey` in order to be solved by our system.
152
-
Currently, in order to solve a capy captcha, you'll have to use the reCAPTCHA methods and only add `--capy` at the end of the `page_url`.
153
-
Having that up, our system will pick it up as capy. Once workers have solved it, you'll have to use the reCAPTCHA retrieve endpoint, to get the response.
152
+
### IMPORTANT
153
+
For this two captcha types, the reCAPTCHA methods are used (explained above), except that there's one small difference.
154
154
155
-
**E.g** Original page url - `https://mysite.com`, capy page url `https://mysite.com--capy`
155
+
The `pageurl` parameter should have at the end of it `--capy` added for Capy captcha and `--hcaptcha` for the hCaptcha. This instructs our system it's a capy or hCaptcha. It will be changed in the future, to have it's own endpoints.
156
156
157
+
For example, if you were to have the `pageurl` = `https://mysite.com` you would send it as `https://mysite.com--capy` if it's capy or `https://mysite.com--hcaptcha` for hCaptcha. Both require a sitekey too, which is sent as reCAPTCHA sitekey, and response is received as reCAPTCHA response, once again using the reCAPTCHA method.
158
+
159
+
#### Example
160
+
```python
161
+
# submit
162
+
p = {
163
+
'page_url' :'domain.com--capy', # or `domain.com--hcaptcha`
0 commit comments