Our new LangChain Academy Course Deep Research with LangGraph is now live! Enroll for free.
OSS (v1-alpha)
LangChain and LangGraph
npm install @langchain/community @langchain/core youtubei.js
url
language
addVideoInfo
import { YoutubeLoader } from "@langchain/community/document_loaders/web/youtube"; const loader = YoutubeLoader.createFromUrl("https://youtu.be/bZQun8Y4L2A", { language: "en", addVideoInfo: true, }); const docs = await loader.load(); console.log(docs);