mirror of
https://github.com/hwchase17/langchain
synced 2024-10-31 15:20:26 +00:00
87e502c6bc
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
|
|
```
|