Setup
You’ll need to install the youtubei.js to extract metadata:npm
Usage
You need to specify a link to the video in theurl. You can also specify language in ISO 639-1 and addVideoInfo flag.
Integrate with the YouTube transcripts document loader using LangChain JavaScript.
url. You can also specify language in ISO 639-1 and addVideoInfo flag.