# YouTube Shorts Scraper and Transcriber

> Find a channel's most-viewed YouTube Shorts, transcribe them locally with Whisper and clean the text with a local Ollama model. Runs on your own machine.

YouTube Shorts Scraper and Transcriber is a free AI agent skill on Agensi by Andrés Fontaneda, in Social Media. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [Andrés Fontaneda](https://www.agensi.io/creators/fontihate)
- Category: [Social Media](https://www.agensi.io/skills/social-media)
- Uses: 2
- Version: 1.0
- Last updated: 2026-12-01
- Security: scan passed (2026-12-01); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/youtube-shorts-scraper-and-transcriber
- Tags: social-media, writing, digital-products, youtube, shorts, transcription, whisper, ollama

## About this skill

Turn YouTube Shorts into text, with your agent doing the work.

### What it does

- **Scrape:** lists a channel's most-viewed Shorts with their views, links and descriptions into an Excel file.
- **Transcribe:** downloads the audio of a Short and transcribes it with OpenAI Whisper, running on your own machine.
- **Restore (optional):** fixes spelling and punctuation of the transcript with a local Llama model through Ollama, without rewriting the content.

### Good for

- Studying what works in a niche by reading the scripts of its top Shorts.
- Getting a text version of your own Shorts for subtitles, blog posts or repurposing.
- Building a library of transcripts to search or summarize later.

### Requirements

- Python 3.10+ and FFmpeg
- A free YouTube Data API key (only for the scraping step)
- Ollama with the llama3 model (only for the cleanup step)

Step-by-step setup is included in the skill. Transcription is slow on CPU and much faster with an NVIDIA GPU.

### Good to know

- Everything except the YouTube API call runs locally. Nothing is sent to a paid AI service.
- The cleanup prompt is written for Spanish; other languages work for scraping and transcription, and you can edit the examples for cleanup.
- Intended for personal use on content you have the right to process. Downloading audio from YouTube may conflict with YouTube's Terms of Service.

## Requires

- Python
- FFmpeg
- YouTube Data API key (free)
- Optional: Ollama with llama3 (for the cleanup step)
- Optional: NVIDIA GPU (faster transcription)

On Windows, add the FFmpeg bin folder to PATH. Transcription on CPU is slow; use --model tiny for quick tests.

## Known limitations

- Transcription is slow on CPU. An NVIDIA GPU (CUDA) makes it much faster.
- The cleanup step is tuned for Spanish. Other languages transcribe fine, but you should edit the examples in scripts/restore.py for cleanup.
- Small local models can occasionally alter wording during cleanup; the raw transcript is always kept.
- Detecting which videos are Shorts requires many requests to YouTube. If it fails or gets throttled, lower --workers.
- The free YouTube Data API has a daily quota that limits how many videos you can scan.
- Downloads depend on yt-dlp, which may need updating when YouTube changes its site.
- Whisper's default "base" model is fast but less accurate than "small" or "medium".

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the YouTube Shorts Scraper and Transcriber skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### Do I need to pay for any API?

No. The YouTube Data API key is free (it has a daily quota), and Whisper and Ollama run on your own computer at no cost.

### Do I need a GPU?

No, it runs on CPU, but it is slow. With an NVIDIA GPU it is detected automatically and transcription is much faster. For quick tests, use --model tiny.

### Which languages does it support?

Whisper transcribes many languages automatically. The optional cleanup step is written for Spanish; for other languages, edit the examples in scripts/restore.py.

### s my data sent anywhere?

Audio and transcripts stay on your machine. The only external calls are to the YouTube Data API (to list videos) and to YouTube itself (to download audio).

### Is it allowed to download audio from YouTube?

It may conflict with YouTube's Terms of Service. Use it for personal purposes and only on content you have the right to process.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
