- Extracts information on the playlist videos from the YouTube API
- Scrapes the video markers from the video's YouTube webpage (using a headless browser)
- Saves the fetched video markers to the required files
- Ensure you have Node.js and TypeScript installed on your system
- Install the dependencies
$npm install
- Obtain a YouTube API Key from your Google Account, and set it as an environment variable
$export YOUTUBE_API_KEY=<replace_with_your_api_key>
- Execute the script
$npm run execute