CAPTCHAFORUM
Administrator
bestcaptchasolver-python3 is a super easy to use bypass captcha python3 API wrapper for bestcaptchasolver.com captcha service
Installation
Dependencies
Usage
How to use?
Simply require the module, set the auth details and start using the captcha service:
Set access_token for authentication
Once you've set your authentication details, you can start using the API
Get balance
Submit image captcha
The image submission works with both files and b64 encoded strings. For setting the affiliate_id, set the
Documentation https://githubmemory.com/repo/bestcaptchasolver/bestcaptchasolver-python3
Installation
git clone https://github.com/bestcaptchasolver/bestcaptchasolver-python3
Dependencies
pip install -r requirements.txt
Usage
# make sure you've changed access_key, page_url, etc in main.py
python3 main.py
How to use?
Simply require the module, set the auth details and start using the captcha service:
from bestcaptchasolverapi3.bestcaptchasolverapi import BestCaptchaSolverAPI
Set access_token for authentication
Code:
access_token = 'access_token_here'
# get your access token from https://bestcaptchasolver.com/account
bcs = BestCaptchaSolverAPI(ACCESS_TOKEN)
Once you've set your authentication details, you can start using the API
Get balance
balance = bcs.account_balance()
Submit image captcha
Code:
data = {}
data['image'] = 'captcha.jpg'
# optional parameters
data['is_case'] = if case sensitive set to True, default: False
data['is_phrase'] = if phrase, set to True, default: False
data['is_math'] = True if captcha is math, default: False
data['alphanumeric'] = 1 (digits only) or 2 (letters only), default: all characters
data['minlength'] = minimum length of captcha text, default: any
data['maxlength'] = maximum length of captcha text, default: any
bcs.submit_image_captcha(data)
The image submission works with both files and b64 encoded strings. For setting the affiliate_id, set the
affiliate_id
parameterDocumentation https://githubmemory.com/repo/bestcaptchasolver/bestcaptchasolver-python3