Files
nexus/wiki/sources/how-to-get-youtube-channel-id.md

43 lines
1.7 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用中文描述
- 核心主题:从 YouTube 频道页面获取 Channel ID 的方法
- 问题域YouTube 自动化工作流(如 n8n中需要使用 Channel ID但 YouTube 官方界面不直接显示
- 方法/机制:通过浏览器 view-source 查看频道页面 HTML 源码,搜索 `?channel_id` 字符串即可提取
- 结论/价值:获取的 Channel ID 可用于 n8n 工作流、RSS 订阅源、API 调用等场景
## Key Claims用中文描述
- 通过浏览器访问 `view-source:https://www.youtube.com/@频道名` 可查看频道页面的 HTML 源码
- 在源码中搜索 `?channel_id` 字符串,可以找到该频道对应的唯一 Channel ID
- 找到的 Channel ID 格式为:`https://www.youtube.com/feeds/videos.xml?channel_id=UCxxxx`
- 获取的 Channel ID 可用于 n8n 等自动化工作流
## Key Quotes
> "view-source:https://www.youtube.com/@Numberblocks" — 在浏览器地址栏输入此 URL 查看频道页面的 HTML 源代码
> "?channel_id" — 在源代码中搜索此字符串以定位频道 ID
## Key Concepts
- [[YouTube Channel ID]]YouTube 为每个频道分配的唯一标识符,格式为 UC 开头,用于 API 调用、RSS 订阅等场景
## Key Entities
- [[Numberblocks]]:示例 YouTube 频道(儿童数学教育频道),文档中用于演示获取 Channel ID 的示例频道
## Connections
- [[实战笔记:本地部署 RSSHub 并获取 YouTube 订阅]] ← related_to ← [[YouTube Channel ID]]
## Contradictions
- 无已知冲突
## Aliases
- Channel ID
- channel_id
- YouTube Channel Identifier