solved

When YouTube blocks the captions, transcribe the audio

I wanted the transcript of a six-minute video, and YouTube kept answering "Too Many Requests".

I wanted the ideas from a six-minute web design video as a note, not as a video I’d have to rewatch. Fetching the captions failed with a rate limit. Downloading the audio and transcribing it locally on a Mac worked, and took under a minute.

Captions first

yt-dlp can fetch the auto-generated subtitles and skip the video. Adding --print with --no-simulate logs the title, channel, and length in the same call:

yt-dlp --skip-download --write-auto-subs --sub-langs en --sub-format vtt \
  --print "%(title)s | %(channel)s | %(duration_string)s" --no-simulate \
  -o "%(id)s.%(ext)s" <url>

This time YouTube answered HTTP Error 429: Too Many Requests. The caption endpoint has its own per-IP rate limit. Once tripped, nothing got past it:

AttemptResult
Other player clients (tv, mweb, ios, web_safari, web_embedded)Still 429, or no captions at all because YouTube wanted a token yt-dlp couldn’t supply
Sleeping between requestsStill 429
Cookies from a logged-in browserStill 429

One gotcha with cookies: my browser is Zen, a Firefox fork, and --cookies-from-browser firefox found nothing. Passing the profile path works: --cookies-from-browser "firefox:<path to the Zen profile>".

Audio instead

The audio download kept working while the captions were blocked. So I fetched only the audio and ran Whisper locally with MLX Whisper, which runs on Apple Silicon:

yt-dlp -x --audio-format mp3 -o "audio.%(ext)s" <url>

uvx --from mlx-whisper mlx_whisper \
  --model mlx-community/whisper-large-v3-turbo \
  --output-format srt audio.mp3

uvx runs it without installing anything globally. The first run downloads about 300 MB of packages plus the model. ffmpeg is the only other dependency. The six-minute video took under a minute, and Whisper detected the language on its own. Use srt or vtt if you want timestamps in the file, because txt drops them.

Claude Code distilled the transcript into a short Obsidian note whose two key rules were: lead with a mood image instead of a product screenshot, and delete the default dark overlay when the image already gives the text enough contrast. Both rules went into my agents’ design skill, which also shaped this site’s design.

Where it goes wrong

Whisper gets ordinary speech right and product names wrong. “Nano Banana 2” came out as “Dano Banana 2”, and “Seedance” as “C dance”. Any summary built on the transcript inherits those errors, so fix names by hand before you quote them.

When the speech runs out, Whisper can hallucinate a repeated line (“whoa, whoa, whoa…”). Ignore it, or pass --hallucination-silence-threshold together with --word-timestamps True.

Terms of use

YouTube’s terms forbid downloading content or accessing the service by automated means unless YouTube allows it. That covers both commands above. I ran them for one video, for a personal note. Whatever I give an AI to summarise goes to its provider under its terms.

Where it ended up

Solved for one video. The rate limit is probably temporary, but local Whisper is a neat workaround while it lasts: a usable transcript in about a minute. Check the names before you trust it.