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_community.document_loaders import YoutubeLoader
from langchain_community.document_loaders import GoogleApiYoutubeLoader