# YouTube

>[YouTube](https://www.youtube.com/) is an online video sharing and social media platform by Google.
> We download the `YouTube` transcripts and video information.

## Installation and Setup

```bash
pip install youtube-transcript-api
pip install pytube
```
See a [usage example](/docs/integrations/document_loaders/youtube_transcript).


## Document Loader

See a [usage example](/docs/integrations/document_loaders/youtube_transcript).

```python
from langchain.document_loaders import YoutubeLoader
from langchain.document_loaders import GoogleApiYoutubeLoader
```
