bazarr/libs/python_anticaptcha/__init__.py

30 lines
747 B
Python
Raw Normal View History

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