Skip to content

Commit

Permalink
- Added tencent method description to README.md (#81)
Browse files Browse the repository at this point in the history
- And changed URL in the method parameter in tencent.py examples.

Signed-off-by: Maxim S <poplers24@gmail.com>
  • Loading branch information
poplers24 committed May 6, 2024
1 parent ea4bcbb commit 0e29e03
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions examples/tencent.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 0e29e03

Please sign in to comment.