Skip to content

Commit af3c175

Browse files
committed
Update temu_captcha.py
1 parent 6309018 commit af3c175

1 file changed

Lines changed: 3 additions & 9 deletions

File tree

src/python_rucaptcha/temu_captcha.py

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -36,18 +36,12 @@ def __init__(
3636
Common params include:
3737
- redirectUri: URL to confirm CAPTCHA resolution
3838
- any other API‐supported parameters
39+
3940
Examples:
40-
>>> captcha = TemuCaptcha(
41-
... clientKey="YOUR_API_KEY",
42-
... userAgent="Mozilla/5.0 ...",
43-
... proxyType="socks5",
44-
... proxyAddress="1.2.3.4",
45-
... proxyPort="1080"
46-
... )
41+
>>> captcha = TemuCaptcha(rucaptcha_key="YOUR_API_KEY")
4742
>>> response = captcha.captcha_handler(
4843
... parts=["part1_b64", "part2_b64", "part3_b64"],
49-
... captcha_base64=b"full_image_b64",
50-
... timeout=120
44+
... captcha_base64=b"full_image_b64"
5145
... )
5246
>>> print(response)
5347
{

0 commit comments

Comments
 (0)