Skip to content

jmcdice/yt-cc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

YouTube Subtitle Summarization

This Python script will download subtitles for a given YouTube video URL, reformat the text and then, create a video summary using the OpenAI API.

Requirements

  • Python 3.x
  • OpenAI API key
  • Install required libraries
  pip3 install openai
  pip3 install yt-dlp

Usage

  • Clone the Git repository to your local machine.

Set your OpenAI API key as an environment variable:

  export OPENAI_API_KEY=your_api_key_here.

Run the script with the following command:

  ./yt-video-summary.py "https://www.youtube.com/watch?v=kF4ju6j6aLE"

Example

License

This project is licensed under the MIT License. See the LICENSE file for more information.

About

Subtitle Video Summarization

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages