transcript-downloader
Installation
SKILL.md
Transcript Downloader (transcript-downloader)
This skill enables you to download and save YouTube transcripts to your local disk. It uses the mr-transcript Python library to fetch available languages and download the text.
Workflow
- Identify URL: Extract the YouTube URL from the user's message.
- List Languages: Run the
scripts/downloader.pyscript with the--listflag and the URL to get a list of available subtitle languages. - User Selection: Present the list of languages (e.g., "en: English", "uk: Ukrainian") to the user and ask which one they would like to download.
- Download: Once the user chooses a language, run the
scripts/downloader.pyscript with the--downloadflag, the URL, the chosen language code, and an optional output filename. - Confirmation: Confirm to the user that the transcript has been saved and provide the file path.
Scripts
scripts/downloader.py
This script handles the interaction with the mr-transcript library. It automatically manages its dependencies by trying to use uv first, and falling back to a local virtual environment (.venv) if uv is not available.