Skip to content

madebygps/timestamper-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Timestamper Python

Timestamper is a Python CLI tool that generates YouTube timestamps for a video based on a video ID.

demo

Pre-requisites

  • Python 3.6 or higher
  • Azure OpenAI API key

Running the script

  1. Clone the repository
  2. Install the dependencies using pip install -r requirements.txt
  3. Set your environment variables in a .env file
    OPENAI_API_KEY=YOUR_API_KEY  
    ENDPOINT=YOUR_ENDPOINT
    DEPLOYMENT_NAME=YOUR_DEPLOYMENT_NAME
    
  4. Run the script using python timestamper.py --video_id {video_id}

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

MIT

Future Improvements

  • Improve grouping of captions

Resources

Releases

No releases published

Packages

No packages published

Languages