You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
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
|