Skip to content

https://arxiv.org/abs/2606.28344. The end of web parsing. The beginning of scalable pixel-native search. link: https://pixelrag.ai/

fix: correct torch_dtype kwarg, help text default, and CLI backend choices (#123)

Semianchuk Vitaliibba0e3621b14
diff --git a/index/src/pixelrag_index/monitor.py b/index/src/pixelrag_index/monitor.py
index 291be9e..ed372a0 100755
--- a/index/src/pixelrag_index/monitor.py
+++ b/index/src/pixelrag_index/monitor.py
@@ -737,7 +737,7 @@ def main():
"--validate-max-fail-pct",
type=float,
default=5.0,
- help="Exit(1) if Gemini fail percentage exceeds this (default: 10.0)",
+ help="Exit(1) if Gemini fail percentage exceeds this (default: 5.0)",
)
parser.add_argument(
"--validate-interval",
diff --git a/render/src/pixelrag_render/render.py b/render/src/pixelrag_render/render.py
index 62de779..05ba473 100644
--- a/render/src/pixelrag_render/render.py
+++ b/render/src/pixelrag_render/render.py
@@ -33,8 +33,7 @@ def render_url(
Args:
url: URL to capture (http:// or https:// or file://).
output_dir: Directory to write tile subdirectories into.
- backend: Rendering backend: ``"cdp"`` (default, fastest) or
- ``"playwright"`` (full-featured).
+ backend: Rendering backend. Only ``"cdp"`` is implemented.
tile_height: Maximum tile height in pixels (default 8192).
quality: JPEG quality 1-100 (default 85).
viewport_width: Browser viewport width in pixels (default 875).
@@ -73,7 +72,7 @@ def render_urls(
Args:
urls: URLs to capture.
output_dir: Directory to write tile subdirectories into.
- backend: ``"cdp"`` (default) or ``"playwright"``.
+ backend: Rendering backend. Only ``"cdp"`` is implemented.
stems: Optional list of output directory stems (one per URL).
If provided, tiles are written to ``{output_dir}/{stem}.png.tiles/``
instead of deriving names from URLs. Useful for assigning
@@ -205,7 +204,7 @@ def main() -> None:
pixelshot report.pdf --output ./tiles
# Local HTML
- pixelshot index.html --output ./tiles --backend playwright
+ pixelshot index.html --output ./tiles
# URL file
pixelshot urls.txt --output ./tiles
@@ -252,7 +251,7 @@ def main() -> None:
)
parser.add_argument(
"--backend",
- choices=["cdp", "playwright"],
+ choices=["cdp"],
default="cdp",
help="Browser backend for URL/HTML rendering (default: cdp).",
)