# YouTube

### Create a new YouTube Content Source

* Go to **Settings** > **Content Sources** > select **New Content Source**.
* Under **Platform**, select **YouTube**. Then give your content source a **name.**
* Next we need to find the appropriate YouTube feed for our channel or playlist.

***

### Finding URLs for YouTube Channels and Playlists

We need to locate the numeric id for your channel and/or playlists. Once you have identified the id you can append it to the following url samples and enter that into the **Feed Url** input in the Feedotter interface.

```
//Example channel video feed
https://www.youtube.com/feeds/videos.xml?channel_id=<yourchannelid>

//Example playlist video feed
https://www.youtube.com/feeds/videos.xml?playlist_id=<yourplaylistid>
```

***

### Extracting the IDs You Need

FeedOtter uses the YouTube **channel ID** or **playlist ID** to build the correct RSS feed URL.

#### **A. Channel IDs**

* **If your URL includes `/channel/`** — The ID is everything after `/channel/`.\
  Example:

  ```
  https://www.youtube.com/channel/UC1234567890ABCDEF
  Channel ID: UC1234567890ABCDEF
  ```
* **If your URL uses a custom handle (`@name`)** —\
  You’ll need to look up the numeric channel ID:
  1. Go to the channel’s main page.
  2. Right-click and select **View Page Source**.
  3. Search for the text  `rss` (Ctrl+F).
  4. Copy the long ID string after "`channel_id="...`

     ```
     e.g. channel_id=UCauucVdZyf_0oRLlIu9nfxP
     ```

#### **B. Playlist IDs**

* Found after `list=` in the playlist URL.\
  Example:

  ```
  https://www.youtube.com/playlist?list=PL6cg6pbzNzX-EIBhLbNwQt6r-uvGRJat1
  Playlist ID: PL6cg6pbzNzX-EIBhLbNwQt6r-uvGRJat1
  ```

***

### 3. Building Your YouTube RSS Feed

Now that you have the numeric id plug it into one of these standard formats to get the **Feed Url** to use in Feedotter.

| Source Type       | Example Feed URL                                                                    |
| ----------------- | ----------------------------------------------------------------------------------- |
| **Channel Feed**  | `https://www.youtube.com/feeds/videos.xml?channel_id=< YOUR NUMERIC CHANNEL ID >`   |
| **Playlist Feed** | `https://www.youtube.com/feeds/videos.xml?playlist_id=< YOUR NUMERIC PLAYLIST ID >` |

Paste this RSS feed URL into **FeedOtter → Content Sources → YouTube** to automatically pull your latest videos into your newsletter.

FeedOtter will now check this feed for new videos and import them automatically.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.feedotter.com/curated-newsletters/content-sources/youtube.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
