python3-capsolver 1.0.2__tar.gz → 1.1.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (48) hide show
  1. {python3_capsolver-1.0.2/src/python3_capsolver.egg-info → python3_capsolver-1.1.0}/PKG-INFO +3 -2
  2. python3_capsolver-1.1.0/src/python3_capsolver/__version__.py +1 -0
  3. {python3_capsolver-1.0.2 → python3_capsolver-1.1.0}/src/python3_capsolver/core/aio_captcha_instrument.py +2 -2
  4. {python3_capsolver-1.0.2 → python3_capsolver-1.1.0}/src/python3_capsolver/core/sio_captcha_instrument.py +2 -2
  5. {python3_capsolver-1.0.2 → python3_capsolver-1.1.0/src/python3_capsolver.egg-info}/PKG-INFO +3 -2
  6. python3_capsolver-1.0.2/src/python3_capsolver/__version__.py +0 -1
  7. {python3_capsolver-1.0.2 → python3_capsolver-1.1.0}/LICENSE +0 -0
  8. {python3_capsolver-1.0.2 → python3_capsolver-1.1.0}/MANIFEST.in +0 -0
  9. {python3_capsolver-1.0.2 → python3_capsolver-1.1.0}/README.md +0 -0
  10. {python3_capsolver-1.0.2 → python3_capsolver-1.1.0}/pyproject.toml +0 -0
  11. {python3_capsolver-1.0.2 → python3_capsolver-1.1.0}/setup.cfg +0 -0
  12. {python3_capsolver-1.0.2 → python3_capsolver-1.1.0}/src/python3_capsolver/__init__.py +0 -0
  13. {python3_capsolver-1.0.2 → python3_capsolver-1.1.0}/src/python3_capsolver/aws_waf.py +0 -0
  14. {python3_capsolver-1.0.2 → python3_capsolver-1.1.0}/src/python3_capsolver/cloudflare.py +0 -0
  15. {python3_capsolver-1.0.2 → python3_capsolver-1.1.0}/src/python3_capsolver/control.py +0 -0
  16. {python3_capsolver-1.0.2 → python3_capsolver-1.1.0}/src/python3_capsolver/core/__init__.py +0 -0
  17. {python3_capsolver-1.0.2 → python3_capsolver-1.1.0}/src/python3_capsolver/core/base.py +0 -0
  18. {python3_capsolver-1.0.2 → python3_capsolver-1.1.0}/src/python3_capsolver/core/captcha_instrument.py +0 -0
  19. {python3_capsolver-1.0.2 → python3_capsolver-1.1.0}/src/python3_capsolver/core/const.py +0 -0
  20. {python3_capsolver-1.0.2 → python3_capsolver-1.1.0}/src/python3_capsolver/core/context_instr.py +0 -0
  21. {python3_capsolver-1.0.2 → python3_capsolver-1.1.0}/src/python3_capsolver/core/enum.py +0 -0
  22. {python3_capsolver-1.0.2 → python3_capsolver-1.1.0}/src/python3_capsolver/core/serializer.py +0 -0
  23. {python3_capsolver-1.0.2 → python3_capsolver-1.1.0}/src/python3_capsolver/core/utils.py +0 -0
  24. {python3_capsolver-1.0.2 → python3_capsolver-1.1.0}/src/python3_capsolver/datadome_slider.py +0 -0
  25. {python3_capsolver-1.0.2 → python3_capsolver-1.1.0}/src/python3_capsolver/friendly_captcha.py +0 -0
  26. {python3_capsolver-1.0.2 → python3_capsolver-1.1.0}/src/python3_capsolver/gee_test.py +0 -0
  27. {python3_capsolver-1.0.2 → python3_capsolver-1.1.0}/src/python3_capsolver/image_to_text.py +0 -0
  28. {python3_capsolver-1.0.2 → python3_capsolver-1.1.0}/src/python3_capsolver/mt_captcha.py +0 -0
  29. {python3_capsolver-1.0.2 → python3_capsolver-1.1.0}/src/python3_capsolver/recaptcha.py +0 -0
  30. {python3_capsolver-1.0.2 → python3_capsolver-1.1.0}/src/python3_capsolver/vision_engine.py +0 -0
  31. {python3_capsolver-1.0.2 → python3_capsolver-1.1.0}/src/python3_capsolver/yandex.py +0 -0
  32. {python3_capsolver-1.0.2 → python3_capsolver-1.1.0}/src/python3_capsolver.egg-info/SOURCES.txt +0 -0
  33. {python3_capsolver-1.0.2 → python3_capsolver-1.1.0}/src/python3_capsolver.egg-info/dependency_links.txt +0 -0
  34. {python3_capsolver-1.0.2 → python3_capsolver-1.1.0}/src/python3_capsolver.egg-info/requires.txt +0 -0
  35. {python3_capsolver-1.0.2 → python3_capsolver-1.1.0}/src/python3_capsolver.egg-info/top_level.txt +0 -0
  36. {python3_capsolver-1.0.2 → python3_capsolver-1.1.0}/tests/test_aws_waf.py +0 -0
  37. {python3_capsolver-1.0.2 → python3_capsolver-1.1.0}/tests/test_cloudflare.py +0 -0
  38. {python3_capsolver-1.0.2 → python3_capsolver-1.1.0}/tests/test_control.py +0 -0
  39. {python3_capsolver-1.0.2 → python3_capsolver-1.1.0}/tests/test_core.py +0 -0
  40. {python3_capsolver-1.0.2 → python3_capsolver-1.1.0}/tests/test_datadome.py +0 -0
  41. {python3_capsolver-1.0.2 → python3_capsolver-1.1.0}/tests/test_friendly.py +0 -0
  42. {python3_capsolver-1.0.2 → python3_capsolver-1.1.0}/tests/test_gee_test.py +0 -0
  43. {python3_capsolver-1.0.2 → python3_capsolver-1.1.0}/tests/test_image_to_text.py +0 -0
  44. {python3_capsolver-1.0.2 → python3_capsolver-1.1.0}/tests/test_instrument.py +0 -0
  45. {python3_capsolver-1.0.2 → python3_capsolver-1.1.0}/tests/test_mt_captcha.py +0 -0
  46. {python3_capsolver-1.0.2 → python3_capsolver-1.1.0}/tests/test_recaptcha.py +0 -0
  47. {python3_capsolver-1.0.2 → python3_capsolver-1.1.0}/tests/test_vision_engine.py +0 -0
  48. {python3_capsolver-1.0.2 → python3_capsolver-1.1.0}/tests/test_yandex.py +0 -0
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.2
1
+ Metadata-Version: 2.4
2
2
  Name: python3-capsolver
3
- Version: 1.0.2
3
+ Version: 1.1.0
4
4
  Summary: Python 3.8+ Capsolver library with AIO module.
5
5
  Author-email: AndreiDrang <python-captcha@pm.me>
6
6
  License: MIT License
@@ -32,6 +32,7 @@ Requires-Dist: requests>=2.21.0
32
32
  Requires-Dist: aiohttp>=3.9.2
33
33
  Requires-Dist: msgspec<0.20,>=0.18
34
34
  Requires-Dist: tenacity<10,>=8
35
+ Dynamic: license-file
35
36
 
36
37
  # python3-capsolver
37
38
 
@@ -0,0 +1 @@
1
+ __version__ = "1.1.0"
@@ -29,9 +29,9 @@ class AIOCaptchaInstrument(CaptchaInstrumentBase):
29
29
  self.created_task_data = CaptchaResponseSer(**await self.__create_task())
30
30
 
31
31
  # if task created and already ready - return result
32
- if self.created_task_data.errorId == 0 and self.created_task_data.status == ResponseStatusEnm.Processing.value:
32
+ if self.created_task_data.errorId == 0:
33
33
  return (await self.__get_result()).to_dict()
34
- elif self.created_task_data.errorId != 0:
34
+ else:
35
35
  self.created_task_data.status = ResponseStatusEnm.Failed
36
36
 
37
37
  return self.created_task_data.to_dict()
@@ -36,9 +36,9 @@ class SIOCaptchaInstrument(CaptchaInstrumentBase):
36
36
  self.created_task_data = CaptchaResponseSer(**self.__create_task())
37
37
 
38
38
  # if task created and ready - return result
39
- if self.created_task_data.errorId == 0 and self.created_task_data.status == ResponseStatusEnm.Processing:
39
+ if self.created_task_data.errorId == 0:
40
40
  return self.__get_result().to_dict()
41
- elif self.created_task_data.errorId != 0:
41
+ else:
42
42
  self.created_task_data.status = ResponseStatusEnm.Failed
43
43
 
44
44
  return self.created_task_data.to_dict()
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.2
1
+ Metadata-Version: 2.4
2
2
  Name: python3-capsolver
3
- Version: 1.0.2
3
+ Version: 1.1.0
4
4
  Summary: Python 3.8+ Capsolver library with AIO module.
5
5
  Author-email: AndreiDrang <python-captcha@pm.me>
6
6
  License: MIT License
@@ -32,6 +32,7 @@ Requires-Dist: requests>=2.21.0
32
32
  Requires-Dist: aiohttp>=3.9.2
33
33
  Requires-Dist: msgspec<0.20,>=0.18
34
34
  Requires-Dist: tenacity<10,>=8
35
+ Dynamic: license-file
35
36
 
36
37
  # python3-capsolver
37
38
 
@@ -1 +0,0 @@
1
- __version__ = "1.0.2"