mirror of
https://github.com/clucraft/PriceGhost.git
synced 2026-07-14 16:32:14 +02:00
Replaces the broken local Chromium launch (crashpad handler crash in k8s) with connection to the shared browser-node Chromium via CDP. Changes: - Add getRemoteBrowserWSEndpoint() — fetches WebSocket URL from browser-node's /json/version endpoint, remaps localhost → k8s service - scrapeWithBrowser tries remote browser first, falls back to local launch - Use browser.disconnect() for remote, browser.close() for local - REMOTE_BROWSER_URL env var overrides the default k8s service URL |
||
|---|---|---|
| .. | ||
| src | ||
| .dockerignore | ||
| .env.example | ||
| Dockerfile | ||
| package-lock.json | ||
| package.json | ||
| tsconfig.json | ||