phantomfetch 0.4.2__tar.gz → 0.4.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.
- {phantomfetch-0.4.2 → phantomfetch-0.4.3}/PKG-INFO +2 -2
- {phantomfetch-0.4.2 → phantomfetch-0.4.3}/pyproject.toml +2 -2
- {phantomfetch-0.4.2 → phantomfetch-0.4.3}/src/phantomfetch/engines/browser/cdp.py +1 -4
- {phantomfetch-0.4.2 → phantomfetch-0.4.3}/README.md +0 -0
- {phantomfetch-0.4.2 → phantomfetch-0.4.3}/src/phantomfetch/__init__.py +0 -0
- {phantomfetch-0.4.2 → phantomfetch-0.4.3}/src/phantomfetch/cache.py +0 -0
- {phantomfetch-0.4.2 → phantomfetch-0.4.3}/src/phantomfetch/captcha.py +0 -0
- {phantomfetch-0.4.2 → phantomfetch-0.4.3}/src/phantomfetch/engines/__init__.py +0 -0
- {phantomfetch-0.4.2 → phantomfetch-0.4.3}/src/phantomfetch/engines/base.py +0 -0
- {phantomfetch-0.4.2 → phantomfetch-0.4.3}/src/phantomfetch/engines/browser/__init__.py +0 -0
- {phantomfetch-0.4.2 → phantomfetch-0.4.3}/src/phantomfetch/engines/browser/actions.py +0 -0
- {phantomfetch-0.4.2 → phantomfetch-0.4.3}/src/phantomfetch/engines/curl.py +0 -0
- {phantomfetch-0.4.2 → phantomfetch-0.4.3}/src/phantomfetch/fetch.py +0 -0
- {phantomfetch-0.4.2 → phantomfetch-0.4.3}/src/phantomfetch/pool.py +0 -0
- {phantomfetch-0.4.2 → phantomfetch-0.4.3}/src/phantomfetch/telemetry.py +0 -0
- {phantomfetch-0.4.2 → phantomfetch-0.4.3}/src/phantomfetch/tools/selector_builder.py +0 -0
- {phantomfetch-0.4.2 → phantomfetch-0.4.3}/src/phantomfetch/types.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: phantomfetch
|
|
3
|
-
Version: 0.4.
|
|
3
|
+
Version: 0.4.3
|
|
4
4
|
Summary: High-performance agentic web scraping library combining curl-cffi speed with Playwright browser capabilities
|
|
5
5
|
Keywords: web-scraping,playwright,curl-cffi,async,browser-automation,http-client,agentic,anti-detection
|
|
6
6
|
Author: CosmicBull
|
|
@@ -17,7 +17,7 @@ Classifier: Framework :: AsyncIO
|
|
|
17
17
|
Requires-Dist: browserforge[all]>=0.5.0
|
|
18
18
|
Requires-Dist: curl-cffi>=0.13.0
|
|
19
19
|
Requires-Dist: msgspec>=0.20.0
|
|
20
|
-
Requires-Dist:
|
|
20
|
+
Requires-Dist: playwright>=1.50.0
|
|
21
21
|
Requires-Dist: undetected-playwright>=0.3.0
|
|
22
22
|
Requires-Dist: rusticsoup>=0.3.0
|
|
23
23
|
Requires-Dist: httpx>=0.27.0
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "phantomfetch"
|
|
3
|
-
version = "0.4.
|
|
3
|
+
version = "0.4.3"
|
|
4
4
|
description = "High-performance agentic web scraping library combining curl-cffi speed with Playwright browser capabilities"
|
|
5
5
|
readme = "README.md"
|
|
6
6
|
requires-python = ">=3.13"
|
|
@@ -32,7 +32,7 @@ dependencies = [
|
|
|
32
32
|
"browserforge[all]>=0.5.0",
|
|
33
33
|
"curl-cffi>=0.13.0",
|
|
34
34
|
"msgspec>=0.20.0",
|
|
35
|
-
"
|
|
35
|
+
"playwright>=1.50.0",
|
|
36
36
|
"undetected-playwright>=0.3.0",
|
|
37
37
|
"rusticsoup>=0.3.0",
|
|
38
38
|
"httpx>=0.27.0",
|
|
@@ -126,10 +126,7 @@ class CDPEngine:
|
|
|
126
126
|
async def connect(self) -> None:
|
|
127
127
|
"""Initialize Playwright and connect to browser."""
|
|
128
128
|
|
|
129
|
-
|
|
130
|
-
from rebrowser_playwright.async_api import async_playwright
|
|
131
|
-
else:
|
|
132
|
-
from playwright.async_api import async_playwright
|
|
129
|
+
from playwright.async_api import async_playwright
|
|
133
130
|
|
|
134
131
|
self._playwright = await async_playwright().start()
|
|
135
132
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|