PlaywrightCapture 1.29.2__py3-none-any.whl → 1.30.0__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.
@@ -60,7 +60,10 @@ if TYPE_CHECKING:
60
60
  BROWSER = Literal['chromium', 'firefox', 'webkit']
61
61
 
62
62
  try:
63
- from pydub import AudioSegment # type: ignore[attr-defined]
63
+ if sys.version_info < (3, 10):
64
+ from pydub import AudioSegment # type: ignore[attr-defined]
65
+ else:
66
+ from pydub import AudioSegment
64
67
  from speech_recognition import Recognizer, AudioFile
65
68
  CAN_SOLVE_CAPTCHA = True
66
69
  except ImportError:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: PlaywrightCapture
3
- Version: 1.29.2
3
+ Version: 1.30.0
4
4
  Summary: A simple library to capture websites using playwright
5
5
  License: BSD-3-Clause
6
6
  Author: Raphaël Vinot
@@ -18,7 +18,7 @@ Classifier: Programming Language :: Python :: 3.13
18
18
  Classifier: Topic :: Internet
19
19
  Classifier: Topic :: Security
20
20
  Provides-Extra: recaptcha
21
- Requires-Dist: SpeechRecognition (>=3.14.2) ; extra == "recaptcha"
21
+ Requires-Dist: SpeechRecognition (>=3.14.3) ; extra == "recaptcha"
22
22
  Requires-Dist: aiohttp-socks (>=0.10.1)
23
23
  Requires-Dist: aiohttp[speedups] (>=3.11.18)
24
24
  Requires-Dist: async-timeout (>=5.0.1) ; python_version < "3.11"
@@ -28,9 +28,10 @@ Requires-Dist: dnspython (>=2.7.0,<3.0.0)
28
28
  Requires-Dist: playwright (>=1.52.0)
29
29
  Requires-Dist: playwright-stealth (>=1.0.6)
30
30
  Requires-Dist: puremagic (>=1.29)
31
- Requires-Dist: pydub (>=0.25.1) ; extra == "recaptcha"
31
+ Requires-Dist: pydub (>=0.25.1) ; (python_version < "3.10") and (extra == "recaptcha")
32
+ Requires-Dist: pydub-ng (>=0.2.0) ; (python_version >= "3.10") and (extra == "recaptcha")
32
33
  Requires-Dist: python-socks (>=2.7.1,<3.0.0)
33
- Requires-Dist: setuptools (>=80.3.1)
34
+ Requires-Dist: setuptools (>=80.8.0)
34
35
  Requires-Dist: typing-extensions (>=4.12.2,<5.0.0) ; python_version < "3.12"
35
36
  Requires-Dist: tzdata (>=2025.2)
36
37
  Requires-Dist: w3lib (>=2.3.1)
@@ -1,10 +1,10 @@
1
1
  playwrightcapture/__init__.py,sha256=F90Y8wYS13tDjgsfjuFrCfmzQfdnH44G-ovuilJfLEE,511
2
- playwrightcapture/capture.py,sha256=n-P80ja-m5CJrV_7c3PW6iQotYUldMmiPu1Vpqz69Cw,85171
2
+ playwrightcapture/capture.py,sha256=6taJ5k4Aolpp4Z_YRbbgt9AksWnQPoOeb3GR2x1TmCc,85259
3
3
  playwrightcapture/exceptions.py,sha256=LhGJQCGHzEu7Sx2Dfl28OFeDg1OmrwufFjAWXlxQnEA,366
4
4
  playwrightcapture/helpers.py,sha256=Xqs09zHhzAWnpBtQ0A9YAxg80P3Lj7aBj5M2WuEr0so,1843
5
5
  playwrightcapture/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
6
6
  playwrightcapture/socks5dnslookup.py,sha256=ZpOf8tgsRQZi-WDcn9JbbG1bKz9DSfK_jz1l53UI1Ho,4058
7
- playwrightcapture-1.29.2.dist-info/LICENSE,sha256=uwFc39fTLacBUG-XTuxX6IQKTKhg4z14gWOLt3ex4Ho,1775
8
- playwrightcapture-1.29.2.dist-info/METADATA,sha256=pH8R0oMFzzI1tapHLTjikoWSRcVsv9vRB6Q37o_IIaA,3162
9
- playwrightcapture-1.29.2.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
10
- playwrightcapture-1.29.2.dist-info/RECORD,,
7
+ playwrightcapture-1.30.0.dist-info/LICENSE,sha256=uwFc39fTLacBUG-XTuxX6IQKTKhg4z14gWOLt3ex4Ho,1775
8
+ playwrightcapture-1.30.0.dist-info/METADATA,sha256=NVjk4aGsaHGVuzYYAsWE8qqo6MMXK4Em7nC1cNHyRmo,3284
9
+ playwrightcapture-1.30.0.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
10
+ playwrightcapture-1.30.0.dist-info/RECORD,,