mirror of
https://github.com/hwchase17/langchain.git
synced 2026-05-13 02:13:43 +00:00
Co-authored-by: jacoblee93 <jacoblee93@gmail.com> Co-authored-by: Harrison Chase <hw.chase.17@gmail.com>
23 lines
645 B
Plaintext
23 lines
645 B
Plaintext
# YouTube
|
|
|
|
>[YouTube](https://www.youtube.com/) is an online video sharing and social media platform created 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/modules/data_connection/document_loaders/integrations/youtube_transcript.html).
|
|
|
|
|
|
## Document Loader
|
|
|
|
See a [usage example](/docs/modules/data_connection/document_loaders/integrations/youtube_transcript.html).
|
|
|
|
```python
|
|
from langchain.document_loaders import YoutubeLoader
|
|
from langchain.document_loaders import GoogleApiYoutubeLoader
|
|
```
|