Skip to main content

YouTube

YouTube is an online video sharing and social media platform by Google. We download the YouTube transcripts and video information.

Installation and Setup​

pip install youtube-transcript-api
pip install pytube

See a usage example.

Document Loader​

See a usage example.

from langchain.document_loaders import YoutubeLoader
from langchain.document_loaders import GoogleApiYoutubeLoader