2captcha-python 2.0.1__tar.gz → 2.0.2__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: 2captcha-python
3
- Version: 2.0.1
3
+ Version: 2.0.2
4
4
  Summary: Python module for easy integration with 2Captcha API
5
5
  Home-page: https://github.com/2captcha/2captcha-python/
6
6
  Author: 2Captcha
@@ -79,6 +79,7 @@ Examples of API requests for different captcha types are available on the [Pytho
79
79
  - [VKCaptcha](#vkcaptcha)
80
80
  - [CaptchaFox](#captchafox)
81
81
  - [Prosopo](#prosopo)
82
+ - [Temu](#temu)
82
83
  - [CyberSiARA](#cybersiara)
83
84
  - [Other methods](#other-methods)
84
85
  - [send / get\_result](#send--get_result)
@@ -531,6 +532,19 @@ result = solver.prosopo(sitekey='5EZVvsHMrKCFKp5NYNoTyDjTjetoVo1Z4UNNb1DkVLS0Jbq
531
532
  )
532
533
  ```
533
534
 
535
+ ### Temu
536
+
537
+ <sup>[API method description.](https://2captcha.com/ru/2captcha-api#temucaptcha)</sup>
538
+
539
+ This method can be used to solve Temu captcha. Returns a coordinates.
540
+
541
+ ```python
542
+ result = solver.temu(body="data:image/png;base64,iVBORw0KG...",
543
+ part1="data:image/png;base64,iVBORw0KG...",
544
+ part2="data:image/png;base64,iVBORw0KG...",
545
+ part3="data:image/png;base64,iVBORw0KG...")
546
+ ```
547
+
534
548
  ### CyberSiARA
535
549
 
536
550
  <sup>[API method description.](https://2captcha.com/2captcha-api#cybersiara)</sup>
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: 2captcha-python
3
- Version: 2.0.1
3
+ Version: 2.0.2
4
4
  Summary: Python module for easy integration with 2Captcha API
5
5
  Home-page: https://github.com/2captcha/2captcha-python/
6
6
  Author: 2Captcha
@@ -79,6 +79,7 @@ Examples of API requests for different captcha types are available on the [Pytho
79
79
  - [VKCaptcha](#vkcaptcha)
80
80
  - [CaptchaFox](#captchafox)
81
81
  - [Prosopo](#prosopo)
82
+ - [Temu](#temu)
82
83
  - [CyberSiARA](#cybersiara)
83
84
  - [Other methods](#other-methods)
84
85
  - [send / get\_result](#send--get_result)
@@ -531,6 +532,19 @@ result = solver.prosopo(sitekey='5EZVvsHMrKCFKp5NYNoTyDjTjetoVo1Z4UNNb1DkVLS0Jbq
531
532
  )
532
533
  ```
533
534
 
535
+ ### Temu
536
+
537
+ <sup>[API method description.](https://2captcha.com/ru/2captcha-api#temucaptcha)</sup>
538
+
539
+ This method can be used to solve Temu captcha. Returns a coordinates.
540
+
541
+ ```python
542
+ result = solver.temu(body="data:image/png;base64,iVBORw0KG...",
543
+ part1="data:image/png;base64,iVBORw0KG...",
544
+ part2="data:image/png;base64,iVBORw0KG...",
545
+ part3="data:image/png;base64,iVBORw0KG...")
546
+ ```
547
+
534
548
  ### CyberSiARA
535
549
 
536
550
  <sup>[API method description.](https://2captcha.com/2captcha-api#cybersiara)</sup>
@@ -46,6 +46,7 @@ Examples of API requests for different captcha types are available on the [Pytho
46
46
  - [VKCaptcha](#vkcaptcha)
47
47
  - [CaptchaFox](#captchafox)
48
48
  - [Prosopo](#prosopo)
49
+ - [Temu](#temu)
49
50
  - [CyberSiARA](#cybersiara)
50
51
  - [Other methods](#other-methods)
51
52
  - [send / get\_result](#send--get_result)
@@ -498,6 +499,19 @@ result = solver.prosopo(sitekey='5EZVvsHMrKCFKp5NYNoTyDjTjetoVo1Z4UNNb1DkVLS0Jbq
498
499
  )
499
500
  ```
500
501
 
502
+ ### Temu
503
+
504
+ <sup>[API method description.](https://2captcha.com/ru/2captcha-api#temucaptcha)</sup>
505
+
506
+ This method can be used to solve Temu captcha. Returns a coordinates.
507
+
508
+ ```python
509
+ result = solver.temu(body="data:image/png;base64,iVBORw0KG...",
510
+ part1="data:image/png;base64,iVBORw0KG...",
511
+ part2="data:image/png;base64,iVBORw0KG...",
512
+ part3="data:image/png;base64,iVBORw0KG...")
513
+ ```
514
+
501
515
  ### CyberSiARA
502
516
 
503
517
  <sup>[API method description.](https://2captcha.com/2captcha-api#cybersiara)</sup>
@@ -17,4 +17,4 @@ support@2captcha.com
17
17
  """
18
18
 
19
19
  __author__ = '2captcha'
20
- __version__ = '2.0.1'
20
+ __version__ = '2.0.2'
@@ -897,6 +897,29 @@ class AsyncTwoCaptcha():
897
897
  **kwargs)
898
898
  return result
899
899
 
900
+ async def temu(self, body, part1, part2, part3, **kwargs):
901
+ '''Wrapper for solving Temu captcha .
902
+
903
+ Parameters
904
+ __________
905
+ body : str
906
+ Main captcha image as a base64 string.
907
+ part1 : str
908
+ Tile element as a base64 string.
909
+ part2 : str
910
+ Tile element as a base64 string.
911
+ part3 : str
912
+ Tile element as a base64 string.
913
+ '''
914
+
915
+ result = await self.solve(method='temuimage',
916
+ body=body,
917
+ part1=part1,
918
+ part2=part2,
919
+ part3=part3,
920
+ **kwargs)
921
+ return result
922
+
900
923
  async def datadome(self, captcha_url, pageurl, userAgent, proxy, **kwargs):
901
924
  """Wrapper for solving DataDome Captcha.
902
925
 
@@ -1027,6 +1027,29 @@ class TwoCaptcha():
1027
1027
  **kwargs)
1028
1028
  return result
1029
1029
 
1030
+ def temu(self, body, part1, part2, part3, **kwargs):
1031
+ '''Wrapper for solving Temu captcha .
1032
+
1033
+ Parameters
1034
+ __________
1035
+ body : str
1036
+ Main captcha image as a base64 string.
1037
+ part1 : str
1038
+ Tile element as a base64 string.
1039
+ part2 : str
1040
+ Tile element as a base64 string.
1041
+ part3 : str
1042
+ Tile element as a base64 string.
1043
+ '''
1044
+
1045
+ result = self.solve(method='temuimage',
1046
+ body=body,
1047
+ part1=part1,
1048
+ part2=part2,
1049
+ part3=part3,
1050
+ **kwargs)
1051
+ return result
1052
+
1030
1053
  def datadome(self, captcha_url, pageurl, userAgent, proxy, **kwargs):
1031
1054
  """Wrapper for solving DataDome Captcha.
1032
1055
 
File without changes