I find yt-dlp to be exceptionally powerful but I regularly just want the transcript of a YouTube — which this library doesn't do if the video doesn't have closed captions.
So yt-transcript runs yt-dlp to download the video, checks if it has captions — if it does, its a quick output — but if it doesn't, it then takes the downloaded MP3 and gives that to whisper to transcribe.
This allows for a dead simple one shot transcription of any YouTube. Perfect for internal knowledge skills.
yt-transcript URL [--source auto|uploaded|auto-captions|whisper]
[--lang en] [--model small]
[-o FILE] [--keep-temp]
[-q | -v | --verbosity silent|medium|verbose]
to install:pipx install git+https://github.com/plc/yt-transcript.git