web_video
Extract captions and chapters from video pages into a single [m:ss] timeline; use instead of web_fetch on video pages. Returns content, captions, chapters, notes; flags DRM streams.
Instructions
Read a video: captions and chapters as one [m:ss] timeline, from a watch page, an embedded player, tracks or the stream manifest. Use instead of web_fetch on a video page, which returns only the description. Returns content, captions (manual, auto or asr), chapters, notes; an encrypted stream is reported as drm, never read.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | A video page, a page embedding a player, or a player address. | |
| lang | No | Caption language to prefer, e.g. "es". | |
| cursor | No | The `cursor` of a truncated result. | |
| frames | No | Keyframes to capture where the picture changes, up to 24; paths land in the timeline. | |
| profile | No | Profile saved by web_login whose cookies to use. | |
| out_file | No | Write the timeline here and return the path. | |
| max_tokens | No | Cap on the timeline returned. Default 25000. |