PlaywrightCapture 1.24.1__tar.gz → 1.24.3__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.
- {playwrightcapture-1.24.1 → playwrightcapture-1.24.3}/PKG-INFO +3 -3
- {playwrightcapture-1.24.1 → playwrightcapture-1.24.3}/playwrightcapture/capture.py +4 -0
- {playwrightcapture-1.24.1 → playwrightcapture-1.24.3}/pyproject.toml +5 -5
- {playwrightcapture-1.24.1 → playwrightcapture-1.24.3}/LICENSE +0 -0
- {playwrightcapture-1.24.1 → playwrightcapture-1.24.3}/README.md +0 -0
- {playwrightcapture-1.24.1 → playwrightcapture-1.24.3}/playwrightcapture/__init__.py +0 -0
- {playwrightcapture-1.24.1 → playwrightcapture-1.24.3}/playwrightcapture/exceptions.py +0 -0
- {playwrightcapture-1.24.1 → playwrightcapture-1.24.3}/playwrightcapture/helpers.py +0 -0
- {playwrightcapture-1.24.1 → playwrightcapture-1.24.3}/playwrightcapture/py.typed +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: PlaywrightCapture
|
3
|
-
Version: 1.24.
|
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.
|
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.
|
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"
|
@@ -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
|
[tool.poetry]
|
2
2
|
name = "PlaywrightCapture"
|
3
|
-
version = "1.24.
|
3
|
+
version = "1.24.3"
|
4
4
|
description = "A simple library to capture websites using playwright"
|
5
5
|
authors = ["Raphaël Vinot <raphael.vinot@circl.lu>"]
|
6
6
|
license = "BSD-3-Clause"
|
@@ -19,13 +19,13 @@ classifiers=[
|
|
19
19
|
|
20
20
|
[tool.poetry.dependencies]
|
21
21
|
python = "^3.8"
|
22
|
-
playwright = "^1.
|
22
|
+
playwright = "^1.43.0"
|
23
23
|
dateparser = "^1.2.0"
|
24
24
|
beautifulsoup4 = {version= "^4.12.3", extras = ["lxml", "charset_normalizer"]}
|
25
25
|
w3lib = "^2.1.2"
|
26
26
|
requests = {extras = ["socks"], version = "^2.31.0"}
|
27
27
|
pydub = {version = "^0.25.1", optional = true}
|
28
|
-
SpeechRecognition = {version = "^3.10.
|
28
|
+
SpeechRecognition = {version = "^3.10.3", optional = true}
|
29
29
|
pytz = {"version" = "^2024.1", python = "<3.9"}
|
30
30
|
tzdata = "^2024.1"
|
31
31
|
playwright-stealth = "^1.0.6"
|
@@ -42,8 +42,8 @@ optional = true
|
|
42
42
|
types-beautifulsoup4 = "^4.12.0.20240229"
|
43
43
|
pytest = "^8.1.1"
|
44
44
|
mypy = "^1.9.0"
|
45
|
-
types-dateparser = "^1.1.4.
|
46
|
-
types-requests = "^2.31.0.
|
45
|
+
types-dateparser = "^1.1.4.20240331"
|
46
|
+
types-requests = "^2.31.0.20240406"
|
47
47
|
types-pytz = "^2024.1.0.20240203"
|
48
48
|
|
49
49
|
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|