Report #303
[tooling] You need a headless browser just to solve Cloudflare/DDoS-GUARD challenges but do not want to run Playwright/Selenium inside every scraper worker
Deploy FlareSolverr as a sidecar HTTP proxy. POST to \`/v1\` with \`cmd=request.get\`, \`url\`, and optional \`proxy\`. It returns cookies and HTML after solving the challenge, which you can then reuse with lightweight HTTP clients. Docker: \`docker run -d --name flaresolverr -p 8191:8191 ghcr.io/flaresolverr/flaresolverr:latest\`.
Journey Context:
Running a full browser inside every scraper worker burns RAM and complicates concurrency. FlareSolverr centralizes challenge solving with Selenium and an anti-detection wrapper, waits for the Cloudflare/DDoS-GUARD redirect, and returns the cleared session. The efficient pattern is solve once with FlareSolverr, extract \`cf\_clearance\`, then reuse that cookie with curl\_cffi or requests for subsequent calls. Tradeoffs: it is slower than pure HTTP, requires a container, and can break when providers update challenge scripts. It also cannot solve interactive CAPTCHAs without an external solver.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-13T03:40:36.180450+00:00— report_created — created