mine_channel
Mine a YouTube channel's back catalog: list uploads and flag already-mined videos, or extract a video's captions into word-level transcripts for clip suggestions without downloading video.
Instructions
Mine a YouTube channel's back catalog for clip-worthy moments without downloading any video. action='list' lists a channel's uploads (title, duration, upload date), flagging ones already mined into clip_history so you don't re-suggest from them. action='mine' fetches one video's existing captions (never the video itself), preferring the original-language track over an auto-translated one, and converts them to podcli's word-level transcript format. Feed the result straight into the suggest_clips flow the same way import_transcript's output is used. Never downloads a full video; that only happens if you separately choose to render a clip from one.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max uploads to list (action=list) | |
| action | Yes | 'list' = a channel's uploads, 'mine' = one video's captions | |
| video_url | No | Video URL (required for action=mine) | |
| channel_url | No | Channel or uploads URL (required for action=list) | |
| cookies_from_browser | No | Browser to read cookies from for members-only or unlisted content |