Skip to content

Commit 6949fc5

Browse files
added api_server parameter for geetest
1 parent 1f5353b commit 6949fc5

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

Diff for: geetest.rb

+1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ def test_api
1818
d['domain'] = 'https://your-site.com'
1919
d['challenge'] = 'eea8d7d1bd1a933d72a9eda8af6d15d3'
2020
d['gt'] = '1a761081b1114c388092c8e2fd7f58bc'
21+
# d['api_server'] = 'api.geetest.com' # geetest domain - optional
2122
# d['proxy'] = '126.45.34.53:123' # - HTTP proxy - optional
2223
# d['user_agent'] = 'Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0' # optional
2324
captcha_id = ita.submit_geetest d

Diff for: readme.md

+2
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ GeeTest is a captcha that requires 3 parameters to be solved:
9999
- domain
100100
- challenge
101101
- gt
102+
- api_server (optional)
102103

103104
The response of this captcha after completion are 3 codes:
104105
- challenge
@@ -113,6 +114,7 @@ d = {}
113114
d['domain'] = 'https://your-site.com'
114115
d['challenge'] = 'eea8d7d1bd1a933d72a9eda8af6d15d3'
115116
d['gt'] = '1a761081b1114c388092c8e2fd7f58bc'
117+
d['api_server'] = 'api.geetest.com' # geetest domain - optional
116118
# d['proxy'] = '126.45.34.53:123' # - HTTP proxy - optional
117119
# d['user_agent'] = 'Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0' # optional
118120
captcha_id = ita.submit_geetest d

0 commit comments

Comments
 (0)