infra/modules/kubernetes/f1-stream/files/internal/scraper
Viktor Barzin 450dfc28e4
[ci skip] Add reverse proxy mode to f1-stream
Replace CPU-intensive headless Chrome + WebRTC pipeline with a
lightweight Go reverse proxy that strips anti-framing headers
(X-Frame-Options, CSP) and embeds streaming sites in iframes.

- New internal/proxy package with URL rewriting for HTML/CSS
- JS shim injection to intercept fetch/XHR/WebSocket/createElement
- Referer reconstruction for correct cross-origin auth (HLS streams)
- Inline iframe viewer preserving site navigation (not fullscreen overlay)
2026-02-21 21:23:21 +00:00
..
reddit.go [ci skip] Add reverse proxy mode to f1-stream 2026-02-21 21:23:21 +00:00
scraper.go [ci skip] Add reverse proxy mode to f1-stream 2026-02-21 21:23:21 +00:00
validate.go [ci skip] Add reverse proxy mode to f1-stream 2026-02-21 21:23:21 +00:00
validate_test.go [ci skip] Add reverse proxy mode to f1-stream 2026-02-21 21:23:21 +00:00