From 31d4a1daadcb788fc66231508a89a95ae58e1174 Mon Sep 17 00:00:00 2001 From: Maxim S Date: Mon, 6 May 2024 12:27:52 +0200 Subject: [PATCH] - Added tencent method description to README.md - And changed URL in the method parameter in tencent.py examples. Signed-off-by: Maxim S --- README.md | 8 ++++++++ examples/tencent.py | 4 ++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index b0474ec..66a127f 100644 --- a/README.md +++ b/README.md @@ -29,6 +29,7 @@ The easiest way to quickly integrate the 2Captcha captcha-solving service into y - [MTCaptcha](#mtcaptcha) - [Friendly Captcha](#friendly-captcha) - [Cutcaptcha](#cutcaptcha) + - [Tencent](#tencent) - [Other methods](#other-methods) - [send / get_result](#send--getresult) - [balance](#balance) @@ -297,6 +298,13 @@ result = solver.cutcaptcha(misery_key='ad52c87af17e2ec09b8d918c9f00416b1cb8c320' param1=..., ...) ``` +### Tencent +Use this method to solve Cutcaptcha. Returns a token. +```python +result = solver.tencent(app_id="197326679", + url="https://mysite.com/page/with/tencent", + param1=..., ...) +``` ## Other methods diff --git a/examples/tencent.py b/examples/tencent.py index 3ba7a3a..9854141 100644 --- a/examples/tencent.py +++ b/examples/tencent.py @@ -17,8 +17,8 @@ try: result = solver.tencent( - app_id="197322596", - url="https://www.holla.world/random-video-chat#app" + app_id="913522596", + url="https://mysite.com/page/with/tencent" ) except Exception as e: