media_extractor
Extract and control page media: find video, audio, HLS, DASH, and download URLs across iframes; play, pause, seek, decode URLs, or batch-extract.
Instructions
Extract and control media from the current page. Supports 6 actions: extract (find video/audio/HLS/DASH/download URLs including nested iframes), list_iframes, switch_iframe, player_control (play/pause/seek/sources via player API), decode_url (inspect converted string and token formats), batch_extract.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| deep | No | Also scan inline scripts and data attributes | |
| urls | No | List of URLs for batch_extract action | |
| async | No | For batch_extract only: run as a background job — returns a jobId immediately instead of blocking; poll async_job for the result. | |
| index | No | iframe index number | |
| types | No | Media types to find: video, audio, hls, dash, download, iframes | |
| action | No | extract | |
| quality | No | best | |
| selector | No | iframe CSS selector | |
| decoderIV | No | Optional secondary parameter (for custom conversion) | |
| aiOptimize | No | Select extraction strategy automatically | |
| decoderKey | No | Optional transformation parameter (for custom conversion) | |
| decoderType | No | Conversion type: auto-detect, url, base64, or custom | auto |
| encodedData | No | String data to convert (for decode_url action) | |
| playerAction | No | info | |
| searchIframes | No |