2019-04-06 12:26:42 +00:00
|
|
|
from .base import AnticaptchaClient
|
2022-01-24 04:07:52 +00:00
|
|
|
from pkg_resources import get_distribution, DistributionNotFound
|
|
|
|
from .tasks import (
|
|
|
|
NoCaptchaTaskProxylessTask,
|
2022-11-07 18:06:49 +00:00
|
|
|
RecaptchaV2TaskProxyless,
|
|
|
|
NoCaptchaTask,
|
|
|
|
RecaptchaV2Task,
|
2022-01-24 04:07:52 +00:00
|
|
|
FunCaptchaProxylessTask,
|
2022-11-07 18:06:49 +00:00
|
|
|
FunCaptchaTask,
|
|
|
|
ImageToTextTask,
|
2022-01-24 04:07:52 +00:00
|
|
|
RecaptchaV3TaskProxyless,
|
|
|
|
HCaptchaTaskProxyless,
|
2022-11-07 18:06:49 +00:00
|
|
|
HCaptchaTask,
|
|
|
|
RecaptchaV2EnterpriseTaskProxyless,
|
|
|
|
RecaptchaV2EnterpriseTask,
|
|
|
|
GeeTestTaskProxyless,
|
|
|
|
GeeTestTask,
|
|
|
|
AntiGateTaskProxyless,
|
|
|
|
AntiGateTask
|
2022-01-24 04:07:52 +00:00
|
|
|
)
|
2019-04-06 12:26:42 +00:00
|
|
|
from .exceptions import AnticaptchaException
|
|
|
|
|
2022-01-24 04:07:52 +00:00
|
|
|
AnticatpchaException = AnticaptchaException
|
|
|
|
|
|
|
|
try:
|
|
|
|
__version__ = get_distribution(__name__).version
|
|
|
|
except DistributionNotFound:
|
|
|
|
# package is not installed
|
|
|
|
pass
|