Skip to main content
This covers how to load YouTube transcripts into LangChain documents.

Setup

You’ll need to install the youtubei.js to extract metadata:
npm

Usage

You need to specify a link to the video in the url. You can also specify language in ISO 639-1 and addVideoInfo flag.