PlaywrightCapture 1.31.1__tar.gz → 1.31.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.31.1 → playwrightcapture-1.31.3}/PKG-INFO +3 -3
- {playwrightcapture-1.31.1 → playwrightcapture-1.31.3}/playwrightcapture/capture.py +2 -2
- {playwrightcapture-1.31.1 → playwrightcapture-1.31.3}/pyproject.toml +3 -3
- {playwrightcapture-1.31.1 → playwrightcapture-1.31.3}/LICENSE +0 -0
- {playwrightcapture-1.31.1 → playwrightcapture-1.31.3}/README.md +0 -0
- {playwrightcapture-1.31.1 → playwrightcapture-1.31.3}/playwrightcapture/__init__.py +0 -0
- {playwrightcapture-1.31.1 → playwrightcapture-1.31.3}/playwrightcapture/exceptions.py +0 -0
- {playwrightcapture-1.31.1 → playwrightcapture-1.31.3}/playwrightcapture/helpers.py +0 -0
- {playwrightcapture-1.31.1 → playwrightcapture-1.31.3}/playwrightcapture/py.typed +0 -0
- {playwrightcapture-1.31.1 → playwrightcapture-1.31.3}/playwrightcapture/socks5dnslookup.py +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.3
|
2
2
|
Name: PlaywrightCapture
|
3
|
-
Version: 1.31.
|
3
|
+
Version: 1.31.3
|
4
4
|
Summary: A simple library to capture websites using playwright
|
5
5
|
License: BSD-3-Clause
|
6
6
|
Author: Raphaël Vinot
|
@@ -23,9 +23,9 @@ Requires-Dist: aiohttp-socks (>=0.10.1)
|
|
23
23
|
Requires-Dist: aiohttp[speedups] (>=3.12.13)
|
24
24
|
Requires-Dist: async-timeout (>=5.0.1) ; python_version < "3.11"
|
25
25
|
Requires-Dist: beautifulsoup4[charset-normalizer,lxml] (>=4.13.4)
|
26
|
-
Requires-Dist: dateparser (>=1.2.
|
26
|
+
Requires-Dist: dateparser (>=1.2.2)
|
27
27
|
Requires-Dist: dnspython (>=2.7.0,<3.0.0)
|
28
|
-
Requires-Dist: playwright (>=1.
|
28
|
+
Requires-Dist: playwright (>=1.53.0)
|
29
29
|
Requires-Dist: playwright-stealth (>=2)
|
30
30
|
Requires-Dist: puremagic (>=1.29)
|
31
31
|
Requires-Dist: pydub (>=0.25.1) ; (python_version < "3.10") and (extra == "recaptcha")
|
@@ -823,7 +823,7 @@ class Capture():
|
|
823
823
|
# Same technique as: https://github.com/NikolaiT/uncaptcha3
|
824
824
|
if CAN_SOLVE_CAPTCHA:
|
825
825
|
try:
|
826
|
-
if (await page.locator("//iframe[@title='reCAPTCHA']").first.is_visible(
|
826
|
+
if (await page.locator("//iframe[@title='reCAPTCHA']").first.is_visible()
|
827
827
|
and await page.locator("//iframe[@title='reCAPTCHA']").first.is_enabled(timeout=2000)):
|
828
828
|
self.logger.info('Found a captcha')
|
829
829
|
await self._recaptcha_solver(page)
|
@@ -1387,7 +1387,7 @@ class Capture():
|
|
1387
1387
|
if not recaptcha_init_frame:
|
1388
1388
|
return False
|
1389
1389
|
try:
|
1390
|
-
if await recaptcha_init_frame.get_by_role("checkbox", name="I'm not a robot").is_visible(
|
1390
|
+
if await recaptcha_init_frame.get_by_role("checkbox", name="I'm not a robot").is_visible():
|
1391
1391
|
await recaptcha_init_frame.get_by_role("checkbox", name="I'm not a robot").click()
|
1392
1392
|
else:
|
1393
1393
|
self.logger.info('Checkbox not visible.')
|
@@ -1,6 +1,6 @@
|
|
1
1
|
[project]
|
2
2
|
name = "PlaywrightCapture"
|
3
|
-
version = "1.31.
|
3
|
+
version = "1.31.3"
|
4
4
|
description = "A simple library to capture websites using playwright"
|
5
5
|
authors = [
|
6
6
|
{name="Raphaël Vinot", email= "raphael.vinot@circl.lu"}
|
@@ -12,8 +12,8 @@ requires-python = ">=3.9,<4.0"
|
|
12
12
|
dynamic = [ "classifiers" ]
|
13
13
|
|
14
14
|
dependencies = [
|
15
|
-
"playwright (>=1.
|
16
|
-
"dateparser (>=1.2.
|
15
|
+
"playwright (>=1.53.0)",
|
16
|
+
"dateparser (>=1.2.2)",
|
17
17
|
"beautifulsoup4[charset-normalizer,lxml] (>=4.13.4)",
|
18
18
|
"w3lib (>=2.3.1)",
|
19
19
|
"tzdata (>=2025.2)",
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|