Files
nexus/wiki/sources/How-to-get-YouTube-Channel-ID.md

45 lines
1.5 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
title: "How to get YouTube Channel ID"
type: source
tags: [youtube, rss, utility]
date: 2025-03-16
---
## Source File
- [[raw/Others/How to get Youtube Channel ID.md]]
## Summary
- 核心主题:获取 YouTube 频道 ID 的方法
- 问题域n8n 工作流接入 YouTube 数据时需要 channel_id 参数
- 方法/机制:通过 view-source 页面查询 `?channel_id` 字符串
- 结论/价值channel_id 可用于构建 YouTube RSS Feed URL进而接入 n8n 自动化
## Key Claims
- YouTube 频道页面通过 view-source 可直接查询 channel_id
- 查询到的 channel_id 格式为 `UCxxxxxxxxxxxxxxxxx`
- channel_id 可拼接为 RSS Feed URL`https://www.youtube.com/feeds/videos.xml?channel_id=UCxxx`
## Key Quotes
> `view-source:https://www.youtube.com/@Numberblocks` — 通过此方式绕过 UI 直接访问源码
> `"?channel_id"` — 在源码中搜索此字符串即可定位 channel_id
## Key Concepts
- [[YouTube Channel ID]]YouTube 频道唯一标识符,格式为 UC 前缀的 24 字符字符串
- [[YouTube RSS Feed]]:通过 channel_id 生成的 XML 订阅源,可被 n8n 等工具消费
## Key Entities
- [[YouTube]]视频平台RSS Feed 功能支持频道级订阅
- [[n8n]]:自动化工作流工具,支持 YouTube RSS Trigger
## Connections
- [[YouTube RSS Feed]] ← used_in ← [[n8n YouTube Workflow]]
- [[YouTube Channel ID]] ← extracted_from ← [[YouTube Channel Page Source]]
## Contradictions
- 无冲突
## Metadata
- 作者shenwei
- 创建时间2025-03-16
- 原始标签:[]