PlaywrightCapture 1.24.1__py3-none-any.whl → 1.24.3__py3-none-any.whl

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.
@@ -1081,6 +1081,10 @@ class Capture():
1081
1081
  elif '; ' in name:
1082
1082
  name, _ = name.split('; ', maxsplit=1)
1083
1083
  # This is kinda dirty.
1084
+
1085
+ # The format changed in Playwright 1.43.0, the name of the method that failed is set before the exception itself.
1086
+ if ': ' in name:
1087
+ _, name = name.split(': ', maxsplit=1)
1084
1088
  exception._name = name.strip()
1085
1089
 
1086
1090
  def _exception_is_network_error(self, exception: Error) -> bool:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: PlaywrightCapture
3
- Version: 1.24.1
3
+ Version: 1.24.3
4
4
  Summary: A simple library to capture websites using playwright
5
5
  Home-page: https://github.com/Lookyloo/PlaywrightCapture
6
6
  License: BSD-3-Clause
@@ -20,10 +20,10 @@ Classifier: Programming Language :: Python :: 3.12
20
20
  Classifier: Topic :: Internet
21
21
  Classifier: Topic :: Security
22
22
  Provides-Extra: recaptcha
23
- Requires-Dist: SpeechRecognition (>=3.10.2,<4.0.0) ; extra == "recaptcha"
23
+ Requires-Dist: SpeechRecognition (>=3.10.3,<4.0.0) ; extra == "recaptcha"
24
24
  Requires-Dist: beautifulsoup4[charset-normalizer,lxml] (>=4.12.3,<5.0.0)
25
25
  Requires-Dist: dateparser (>=1.2.0,<2.0.0)
26
- Requires-Dist: playwright (>=1.42.0,<2.0.0)
26
+ Requires-Dist: playwright (>=1.43.0,<2.0.0)
27
27
  Requires-Dist: playwright-stealth (>=1.0.6,<2.0.0)
28
28
  Requires-Dist: puremagic (>=1.21,<2.0)
29
29
  Requires-Dist: pydub (>=0.25.1,<0.26.0) ; extra == "recaptcha"
@@ -1,9 +1,9 @@
1
1
  playwrightcapture/__init__.py,sha256=F90Y8wYS13tDjgsfjuFrCfmzQfdnH44G-ovuilJfLEE,511
2
- playwrightcapture/capture.py,sha256=vVW_IngwxbggS0RGKc-_P3HK6uVyAr1Z3DMq_mVf9OI,61274
2
+ playwrightcapture/capture.py,sha256=KuIaHzPtZqZKYNDO8WfPx22D6Ms6xKezZmgg4I4yCNs,61485
3
3
  playwrightcapture/exceptions.py,sha256=LhGJQCGHzEu7Sx2Dfl28OFeDg1OmrwufFjAWXlxQnEA,366
4
4
  playwrightcapture/helpers.py,sha256=SXQLEuxMs8-bcWykMiUVosHzzxBKuS-QC0gBV3OmKmo,1764
5
5
  playwrightcapture/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
6
- playwrightcapture-1.24.1.dist-info/LICENSE,sha256=uwFc39fTLacBUG-XTuxX6IQKTKhg4z14gWOLt3ex4Ho,1775
7
- playwrightcapture-1.24.1.dist-info/METADATA,sha256=vEE-o9VWNeDiLS2P57SICcC_V-Bl024phHhreiZ8Ly0,3077
8
- playwrightcapture-1.24.1.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
9
- playwrightcapture-1.24.1.dist-info/RECORD,,
6
+ playwrightcapture-1.24.3.dist-info/LICENSE,sha256=uwFc39fTLacBUG-XTuxX6IQKTKhg4z14gWOLt3ex4Ho,1775
7
+ playwrightcapture-1.24.3.dist-info/METADATA,sha256=yuyoEKN1Qa5Dcsx0YkWGST9sPFSP7RlClu9FjMWz53A,3077
8
+ playwrightcapture-1.24.3.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
9
+ playwrightcapture-1.24.3.dist-info/RECORD,,