mirror of
https://github.com/morpheus65535/bazarr
synced 2024-12-26 17:47:20 +00:00
34 lines
727 B
Python
34 lines
727 B
Python
from .base import AnticaptchaClient
|
|
from pkg_resources import get_distribution, DistributionNotFound
|
|
from .tasks import (
|
|
NoCaptchaTask,
|
|
NoCaptchaTaskProxylessTask,
|
|
FunCaptchaTask,
|
|
FunCaptchaProxylessTask,
|
|
RecaptchaV3TaskProxyless,
|
|
HCaptchaTask,
|
|
HCaptchaTaskProxyless,
|
|
SquareNetTask,
|
|
ImageToTextTask,
|
|
CustomCaptchaTask,
|
|
)
|
|
from .exceptions import AnticaptchaException
|
|
from .fields import (
|
|
SimpleText,
|
|
Image,
|
|
WebLink,
|
|
TextInput,
|
|
Textarea,
|
|
Checkbox,
|
|
Select,
|
|
Radio,
|
|
ImageUpload,
|
|
)
|
|
|
|
AnticatpchaException = AnticaptchaException
|
|
|
|
try:
|
|
__version__ = get_distribution(__name__).version
|
|
except DistributionNotFound:
|
|
# package is not installed
|
|
pass
|