mirror of
https://github.com/hwchase17/langchain
synced 2024-10-29 17:07:25 +00:00
8f8e8d701e
(Unintentionally mean 😅) nit: YouTube wasn't created by Google, this PR
fixes the mention in docs.
23 lines
637 B
Plaintext
23 lines
637 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/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
|
|
```
|