Get text transcripts for speech in YouTube videos. This project accompanies a blog post available at https://developers.deepgram.com/blog/2021/11/transcribe-youtube-videos-nodejs/ and video at https://youtu.be/LrNS_q886uQ
git clone https://github.com/deepgram-devs/youtube-transcripts.git
cd youtube-transcripts
npm install
Set your DG_KEY
environment variable or replace process.env.DG_KEY
with your key.
Replace the YouTube video ID on line 13 and run with:
node index.js