blob: 11f2691e86c43eb347b42dcd3d3f7dac57a1b819 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
|
Changelog
=========
1.0.0 - 2022-03-28
------------------
Added
#####
- Add new tasks:
- ``AntiGateTask`` and ``AntiGateTaskProxyless``
- ``RecaptchaV2EnterpriseTask`` and ``RecaptchaV2EnterpriseTaskProxyless``
- ``GeeTestTask`` and ``GeeTestTaskProxyless``
- ``RecaptchaV2Task`` (alias of ``NoCaptchaTask``) and ``RecaptchaV2TaskProxyless`` (alias of ``NoCaptchaTaskProxyless``)
- Add example for ``AntiGateTaskProxyless``
- Add optional parameters ``comment``, ``websiteUrl`` to ``ImageToTextTask``
- Add optional parameter ``funcaptchaApiJSSubdomain``, ``data`` to ``FunCaptchaTask*``
- Add optional parameter ``isEnterprise`` to ``RecaptchaV3Task*``
Removed
#######
- Drop tasks unsupported upstream: ``CustomCaptchaTask``, ``SquareNetTask``
Changed
#######
- Internal refactor to extract ``UserAgentMixin``, ``CookieMixin``
- Use nose2 for tests
0.7.1 - 2020-07-17
------------------
Added
#####
- Added examples for proxy mode including `hcaptcha_request_proxy`
Changed
#######
- Fix inheritance of `FunCaptchaTask`
- Added `FunCaptchaTask` to e2e tests
0.7.0 - 2020-06-08
------------------
Added
#####
- Added parameter `recaptchaDataSValue` in `NoCaptchaTask*`
Thanks to this change added support for additional "data-s" used by some custom
ReCaptcha deployments, which is in fact a one-time token and must be grabbed
every time you want to solve a Recaptcha.
`<div class="g-recaptcha" data-sitekey="some sitekey" data-s="THIS_TOKEN"></div>`
Changed
#######
- Fixed deprecated method `report_incorrect`.
You should currently use `report_incorrect_image` instead already.
0.6.0 - 2020-04-13
------------------
Added
#####
- Added custom timeout for ``createTaskSmee``.
Use as ``client.createTaskSmee(task, timeout=5*60)``.
Default timeout is 5 minutes.
- Added ``squarenet_validator`` for usage with thread pool
for concurrent execution
Changed
#######
- Default 5 seconds timeout apply to all API request.
0.5.1 - 2020-03-31
------------------
Changed
#######
- Fix import of package
0.5.0 - 2020-03-30
------------------
Added
#####
- Added ``HCaptchaTaskProxyless`` and ``HCaptchaTask`` for
support hCaptcha_ . See ``examples/hcaptcha_request.py`` for detailed
usage example.
- Added ``SquareNetTask``. See ``examples/squarenet.py`` for detailed
usage example.
- Added ``Job.report_incorrect_recaptcha`` and ``Job.report_incorrect_image`` .
Changed
#######
- Exposed ``FunCaptchaProxylessTask`` as ``python_anticaptcha.FunCaptchaProxylessTask``
- Exposed ``CustomCaptchaTask`` as ``python_anticaptcha.CustomCaptchaTask``
- Formated code via Black
- Move constant monitoring to GitHub Actions
- Deprecated ``Job.report_incorrect``. Use ``report_incorrect_image`` instead.
0.4.2 - 2019-10-27
------------------
Added
#####
- Added example ``remote_image.py``
Changed
#######
- Switch CI from TravisCI to GitHub Actions
- Automate PyPI releases
- Use ``use_scm_version`` for versioning
- Drop ``use_2to3`` in ``setup.py``
0.4.1 - 2019-07-09
------------------
Added
#####
- Added ``python_anticaptcha.__version__`` to provide version signature (see PEP396)
Changed
#######
- ``python_anticaptcha.AnticaptchaClient.createTaskSmee`` use shared session & keep connection.
0.4.0 - 2019-06-28
------------------
Added
#####
- Added ``python_anticaptcha.AnticaptchaClient.createTaskSmee`` to receive responses without polling
The method, which is based on the callback result of captcha / task factory to Smee.io,
which immediately transfers it to library. Allows to significantly shorten the waiting time
for a response and to reduce load the network connection.
The method is in beta and the way it works may change. All comments are welcome.
- Recaptcha V3 is now officially supported by Anti-Captcha. Added ``python_anticaptcha.RecaptchaV3TaskProxyless``.
0.3.2 - 2018-10-17
------------------
Added
#####
- Added support for ``IsInvisible`` flag in ``NoCaptchaTaskProxylessTask`` and ``NoCaptchaTask``
0.3.1 - 2018-03-18
------------------
Changed
#######
- Replaced ``python_anticaptcha.AnticatpchaException`` to ``python_anticaptcha.AnticaptchaException`` due typo
Added
#####
- Added ``python_anticaptcha.exceptions.AnticatpchaException``
- Added docs about error handling
Removed
#######
- Deprecated ``python_anticaptcha.exceptions.AnticatpchaException``
.. _hCaptcha: https://www.hcaptcha.com/
|