---
# System prepended metadata

title: YT網址的規律
tags: [URL, Youtube, Public]

---

---
title: YT網址的規律
description: 關於Youtube ID的特性
lang: zh-hant
---

# YT網址的規律

[TOC]

---

## 發現

<https://www.youtube.com/channel/UCOeb0ESwuaF9yWlBmx7QqSA>
| Key                                | Value                     |
| ---------------------------------- | ------------------------- |
| Channel ID                         |`UCOeb0ESwuaF9yWlBmx7QqSA` |
| "Upload Video" Playlist ID         |`UUOeb0ESwuaF9yWlBmx7QqSA` |
| "Popular Upload Video" Playlist ID |`PUOeb0ESwuaF9yWlBmx7QqSA` |

<https://www.youtube.com/channel/UCgdwtyqBunlRb-i-7PnCssQ>
| Key                                | Value                     |
| ---------------------------------- | ------------------------- |
| Channel ID                         |`UCgdwtyqBunlRb-i-7PnCssQ` |
| "Upload Video" Playlist ID         |`UUgdwtyqBunlRb-i-7PnCssQ` |
| "Popular Upload Video" Playlist ID |`PUgdwtyqBunlRb-i-7PnCssQ` |

## 推論

故得出ID是分成兩部分的
前兩位是分辨內容用
後N位是唯一ID

## 猜測

關於前兩位ID的含意
我猜測
| Key | Value            |
| --- | ---------------- |
|`UC` | `User Channel`   |
|`UU` | `User Upload`    |
|`PU` | `Popular Upload` |

---

<small>Copyright © 2022 Mango Side Project. All rights reserved.</small>

###### tags: `Public` `Youtube` `URL`

{%hackmd @Luminous-Coder/dark-theme %}
<!-- the theme made by Luminous-Coder -->