mirror of
https://github.com/hwchase17/langchain
synced 2024-11-08 07:10:35 +00:00
23 lines
579 B
Plaintext
23 lines
579 B
Plaintext
# 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
|
|
```
|