Geetest CAPTCHA v4 bypass library
Project description
wulu-geetest-bypass
Geetest CAPTCHA v4 自动化验证库,支持 ai / slide / match / winlinze / svg_seed 五种风险类型。
安装
uv add "wulu-geetest-bypass[all]"
可选依赖:
# slide 滑块(需要 opencv)
uv add "wulu-geetest-bypass[slide]"
# svg-seed 图片选择 + slide
uv add "wulu-geetest-bypass[svg-seed]"
# 全部安装
uv add "wulu-geetest-bypass[all]"
快速开始
import asyncio
from wulu_geetest_bypass import Geetest
async def main():
g = Geetest(captcha_id='your_captcha_id', risk_type='slide')
result = await g.resolve()
print(result)
# {
# "captcha_id": "xxx",
# "lot_number": "xxx",
# "pass_token": "xxx",
# "gen_time": "xxx",
# "captcha_output": "xxx"
# }
asyncio.run(main())
风险类型
| 类型 | 说明 | 依赖 |
|---|---|---|
ai |
无感验证 | 无 |
slide |
滑块拼图 | opencv-python |
match |
3×3 连线 | 无 |
winlinze |
五子棋 | 无 |
svg_seed |
SVG 图片选择 | pillow, resvg-py, opencv-python |
API
Geetest(captcha_id, risk_type, ...)
| 参数 | 说明 |
|---|---|
captcha_id |
验证 ID |
risk_type |
风险类型,默认 ai |
client_type |
客户端类型 web / android / ios |
lang |
语言 zh / en |
challenge |
自定义 challenge(默认随机 UUID) |
proxy |
代理 URL |
client |
自定义 wreq.Client 实例 |
方法
| 方法 | 说明 |
|---|---|
load() |
获取验证数据 |
verify(data) |
提交验证 |
resolve() |
load + verify,返回 seccode |
免责声明
本项目仅供学习和研究使用。使用者应遵守相关法律法规及平台服务条款, 禁止用于任何非法用途。作者不对因使用本项目产生的任何法律问题承担责任。
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
wulu_geetest_bypass-0.1.1.tar.gz
(53.3 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file wulu_geetest_bypass-0.1.1.tar.gz.
File metadata
- Download URL: wulu_geetest_bypass-0.1.1.tar.gz
- Upload date:
- Size: 53.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.11.21 {"installer":{"name":"uv","version":"0.11.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
059709ecf8390739c2e1270480c8beb915e53d00ea4f7a8fd33cb99dfc5e9987
|
|
| MD5 |
e15d0be4a1ce38862fd2aec3bbe528fc
|
|
| BLAKE2b-256 |
c8852627f7142a5d13ab5850d5bba9138b9d1d4c07ee8b4587138840196cab6c
|
File details
Details for the file wulu_geetest_bypass-0.1.1-py3-none-any.whl.
File metadata
- Download URL: wulu_geetest_bypass-0.1.1-py3-none-any.whl
- Upload date:
- Size: 13.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.11.21 {"installer":{"name":"uv","version":"0.11.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4cc830216de9fa182a47e7504ee57623dc81bc5b7fb92655df79166e41cc8e8e
|
|
| MD5 |
985e4146ecaaedda3b976027ffc3e445
|
|
| BLAKE2b-256 |
5f708c5765e4971a6db30aad090c7a4c85fa9d2485a53efcf90d1b4e0dcd3a17
|