API¶
Base¶
- class
python_anticaptcha.base.
AnticaptchaClient
(client_key, language_pool='en', host='api.anti-captcha.com', use_ssl=True)[source]¶
APP_STAT_URL
= '/getAppStats'¶
BALANCE_URL
= '/getBalance'¶
CREATE_TASK_URL
= '/createTask'¶
REPORT_IMAGE_URL
= '/reportIncorrectImageCaptcha'¶
REPORT_RECAPTCHA_URL
= '/reportIncorrectRecaptcha'¶
SOFT_ID
= 847¶
TASK_RESULT_URL
= '/getTaskResult'¶
client_ip
¶
client_key
= None¶
language_pool
= 'en'¶
response_timeout
= 5¶
Exceptions¶
Tasks¶
- class
python_anticaptcha.tasks.
AntiGateTaskProxyless
(website_url, template_name, variables, *args, **kwargs)[source]¶
templateName
= None¶
type
= 'AntiGateTask'¶
variables
= None¶
websiteURL
= None¶
- class
python_anticaptcha.tasks.
FunCaptchaProxylessTask
(website_url, website_key, subdomain=None, data=None, *args, **kwargs)[source]¶
data
= None¶
funcaptchaApiJSSubdomain
= None¶
type
= 'FunCaptchaTaskProxyless'¶
websiteKey
= None¶
websiteURL
= None¶
- class
python_anticaptcha.tasks.
GeeTestTaskProxyless
(website_url, gt, challenge, subdomain=None, lib=None, *args, **kwargs)[source]¶
challenge
= None¶
geetestApiServerSubdomain
= None¶
geetestGetLib
= None¶
gt
= None¶
type
= 'GeeTestTaskProxyless'¶
websiteURL
= None¶
- class
python_anticaptcha.tasks.
HCaptchaTaskProxyless
(website_url, website_key, *args, **kwargs)[source]¶
type
= 'HCaptchaTaskProxyless'¶
websiteKey
= None¶
websiteURL
= None¶
- class
python_anticaptcha.tasks.
ImageToTextTask
(fp, phrase=None, case=None, numeric=None, math=None, min_length=None, max_length=None, comment=None, website_url=None, *args, **kwargs)[source]¶
case
= None¶
comment
= None¶
fp
= None¶
math
= None¶
maxLength
= None¶
minLength
= None¶
numeric
= None¶
phrase
= None¶
type
= 'ImageToTextTask'¶
websiteUrl
= None¶
- class
python_anticaptcha.tasks.
NoCaptchaTaskProxylessTask
(website_url, website_key, website_s_token=None, is_invisible=None, recaptcha_data_s_value=None, *args, **kwargs)[source]¶
recaptchaDataSValue
= None¶
type
= 'NoCaptchaTaskProxyless'¶
websiteKey
= None¶
websiteSToken
= None¶
websiteURL
= None¶
- class
python_anticaptcha.tasks.
RecaptchaV2EnterpriseTask
(*args, **kwargs)[source]¶
type
= 'RecaptchaV2EnterpriseTask'¶
- class
python_anticaptcha.tasks.
RecaptchaV2EnterpriseTaskProxyless
(website_url, website_key, enterprise_payload, api_domain, *args, **kwargs)[source]¶
apiDomain
= None¶
enterprisePayload
= None¶
type
= 'RecaptchaV2EnterpriseTaskProxyless'¶
websiteKey
= None¶
websiteURL
= None¶
- class
python_anticaptcha.tasks.
RecaptchaV2TaskProxyless
(website_url, website_key, website_s_token=None, is_invisible=None, recaptcha_data_s_value=None, *args, **kwargs)[source]¶
type
= 'RecaptchaV2TaskProxyless'¶