mirror of
https://github.com/hwchase17/langchain
synced 2024-10-29 17:07:25 +00:00
23 lines
617 B
Markdown
23 lines
617 B
Markdown
|
# 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](../modules/indexes/document_loaders/examples/youtube_transcript.ipynb).
|
||
|
|
||
|
|
||
|
## Document Loader
|
||
|
|
||
|
See a [usage example](../modules/indexes/document_loaders/examples/youtube_transcript.ipynb).
|
||
|
|
||
|
```python
|
||
|
from langchain.document_loaders import YoutubeLoader
|
||
|
from langchain.document_loaders import GoogleApiYoutubeLoader
|
||
|
```
|