> For the complete documentation index, see [llms.txt](https://docs.feedotter.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.feedotter.com/newsletters/content-sources/youtube.md).

# YouTube

FeedOtter can automatically import new videos from your YouTube channels or playlists using YouTube’s built-in RSS feeds. This guide explains how to find the correct URLs and IDs to set up your feed.

### 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.
