This script downloads audio from a YouTube video, transcribes it using the Whisper model, and saves the transcript to a text file.
- Python 3.6+
- yt-dlp
- whisper
- pip install yt-dlp whisper
Run the script from the command line, passing the YouTube URL as an argument:
python main.py <youtube_url>
Example
python youtube_transcript_tool.py https://www.youtube.com/watch?v=w7a_Kbx7nA8