Files
nexus/wiki/sources/how-to-get-youtube-channel-id.md
2026-04-22 16:03:25 +08:00

41 lines
1.9 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: []
date: 2025-03-16
---
## Source File
- [[raw/Others/How to get Youtube Channel ID.md]]
## Summary用中文描述
- 核心主题:通过浏览器 view-source 方法获取 YouTube 频道的 Channel ID
- 问题域YouTube 频道识别与 RSS 订阅源获取
- 方法/机制:使用 `view-source:` URL 前缀访问频道页面,在页面源码中搜索 `channel_id` 字符串,从中提取 RSS Feed URL 中的频道 ID
- 结论/价值:无需 API Key 或第三方工具,即可通过纯浏览器操作获取频道 ID可用于 [[n8n]] 工作流等自动化场景
## Key Claims用中文描述
- 用户可通过浏览器访问 `view-source:https://www.youtube.com/@频道名` 获取页面源码
- 在源码中搜索 `channel_id` 字符串可找到 RSS Feed 地址
- RSS Feed URL 格式为 `https://www.youtube.com/feeds/videos.xml?channel_id=UCxxxxxx`
- 获取到的 Channel ID 可用于 [[n8n]] 等工作流自动化工具
## Key Quotes
> "view-source:https://www.youtube.com/@Numberblocks" — 浏览器地址栏输入此 URL 访问频道页面源码
> "channel_id=UCPlwvN0w4qFSP1FllALB92w" — 搜索 `?channel_id` 可找到该频道的 RSS Feed URL
> "channel id can be used in n8n workflow" — Channel ID 的实际应用场景
## Key Concepts
- [[Channel ID]]YouTube 频道的唯一标识符,格式为 `UC` 开头加 22 位字符
- [[RSS Feed]]`https://www.youtube.com/feeds/videos.xml?channel_id=<ID>` 是 YouTube 频道的 RSS 订阅源格式
## Key Entities
- [[YouTube]]全球最大视频分享平台Channel ID 是其频道资源的唯一标识
- [[n8n]]:工作流自动化工具,可利用 Channel ID 订阅 YouTube 频道更新
## Connections
- [[n8n-workflow-orchestration]] ← uses ← [[YouTube Channel ID]] ← extracted_from ← [[RSSHub]](相关工作流自动化集成)
## Contradictions
- (无冲突)