This project processes a YouTube playlist to extract audio, transcribe it, generate summaries, and create Markdown files.
- Python 3.6 or higher
-
Clone the repository or download the script.
-
Install the required Python packages:
pip install -r requirements.txt
-
Create a
.envfile in the project directory with the following content:OPENAI_API_KEY=your_openai_api_key OPENAI_PROMPT="Summarize the following transcription:"
Run the script with the following command:
python youtube_playlist_processor.py "https://www.youtube.com/playlist?list=YOUR_PLAYLIST_ID" 4 --output_dir /path/to/output --markdown_dir /path/to/markdown --verbose