This project provides a simple script for formatting the vtt
subtitle files to be readable html.
- Use a tool like youtube-dl to download the captions of a video
// To download auto generated captions without the video itself
> youtube-dl --write-auto-sub --skip-download https://www.youtube.com/watch?v=YODPgBadj80
- Place the video inside the
captionInput
folder - Run
node makeCaption.js
- View the output html file in the
captionOutput
folder
Note: other redundant files like quickstart.js
are kept for now for future investigation on downloading the captions via youtube api.