From 0e29e0351efd45a5320b3e35368847dc6bfb0c1e Mon Sep 17 00:00:00 2001 From: Maksim S Date: Mon, 6 May 2024 12:33:52 +0200 Subject: [PATCH] - Added tencent method description to README.md (#81) - 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: