Commit graph

2 commits

Author SHA1 Message Date
User
4f3dc39088 Pin playwright to 1.49.0 to match Dockerfile base image
The ^1.49.0 range let npm install 1.61.1 inside the v1.49.0 Playwright image,
whose bundled browsers don't match — renders failed with 'Executable doesn't
exist'. Found during docker compose verification.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-05 23:51:38 -07:00
User
e2b329b2bb M1: scrape spine — renderer, extractor, orchestrator /scrape, compose, health, render cache
- renderer: Node/Playwright, single browser + pooled contexts with concurrency
  cap and FIFO queue, Redis render cache (graceful no-op without Redis)
- extractor: FastAPI + Trafilatura, HTML -> {title, text, metadata}
- orchestrator: /scrape (render -> extract) with per-stage trace, aggregated
  /health, structured JSON logging on all services
- docker-compose for orchestrator/renderer/extractor/redis with healthchecks

Verified locally: end-to-end scrape of example.com and Wikipedia; error paths
for unreachable hosts and bad schemes.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-05 22:02:38 -07:00