An open API service indexing awesome lists of open source software.

https://github.com/otonomee/youtube-to-transcript

Convert YouTube videos to text files. Why spend 30 minutes watching a video when you can skim the transcript in a couple minutes?
https://github.com/otonomee/youtube-to-transcript

audio-transcription machine-learning openai python pytube speech-to-text transcription video-to-text whisper-model youtube-downloader

Last synced: 3 months ago
JSON representation

Convert YouTube videos to text files. Why spend 30 minutes watching a video when you can skim the transcript in a couple minutes?

Awesome Lists containing this project

README

        

# YouTube Transcript Tool

This script downloads audio from a YouTube video, transcribes it using the Whisper model, and saves the transcript to a text file.

## Requirements
- Python 3.6+
- yt-dlp
- whisper

## Installation
1. pip install yt-dlp whisper

## Usage
Run the script from the command line, passing the YouTube URL as an argument:
```
python main.py
```

Example
```
python youtube_transcript_tool.py https://www.youtube.com/watch?v=w7a_Kbx7nA8
```