> ## Documentation Index
> Fetch the complete documentation index at: https://agno-v2-service-account.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# YouTube Reader

YouTubeReader is a reader class that allows you to read transcript from YouTube videos.

## Parameters

<Snippet file="youtube-reader-reference.mdx" />

## Methods

### `read()`

Reads the transcript of a YouTube video and returns a list of documents.

| Parameter | Type            | Default  | Description                                             |
| --------- | --------------- | -------- | ------------------------------------------------------- |
| `url`     | `str`           | Required | URL of the YouTube video to extract the transcript from |
| `name`    | `Optional[str]` | `None`   | Name override for the resulting documents               |

### `async_read()`

Async variant of `read()`. Accepts `url` only.
