Skip to content

docs(web): video returns a bounded animated GIF data: URI (SCR-242) - #85

Merged
0xGhostCasper merged 1 commit into
mainfrom
casper/scr-242-web-video
Oct 10, 2026
Merged

0xGhostCasper merged 1 commit into
mainfrom
casper/scr-242-web-video

Conversation

@0xGhostCasper

Copy link
Copy Markdown
Member

`video: true` on `POST /v1/web/scrape` now records the session (scrape-badger/scrapebadger, branch `casper/scr-242-web-video`). Before this, `video_url` was always null.

  • `video` param: the response is a `data:image/gif;base64,…` URI, matching `screenshot_url`. The recording is bounded: 5 fps max, 640 px on the longest side, idle stretches cut to 3 s, 2 MB cap (downscaled, then thinned to fit). A failed recording still returns the page.
  • `video_url` response field: same format, and `null` when nothing could be recorded.

Merge this only after the scrapebadger PR is deployed (web-scraper-go plus the farm sidecar).

🤖 Generated with Claude Code

video:true now actually records the browser session. Document the
data:image/gif;base64 URI format, the bounds (5 fps, 640 px, idle
stretches shortened to 3 s, 2 MB with downscale/thinning) and that a
failed recording returns the page with video_url null.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@0xGhostCasper
0xGhostCasper merged commit e7b9657 into main Oct 10, 2026
2 checks passed
@0xGhostCasper
0xGhostCasper deleted the casper/scr-242-web-video branch October 10, 2026 17:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants