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

1.7 KiB
Raw Blame History

title, type, tags, date
title type tags date
How to get Youtube Channel ID source
2025-03-16

Source File

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 IDYouTube 为每个频道分配的唯一标识符,格式为 UC 开头,用于 API 调用、RSS 订阅等场景

Key Entities

  • Numberblocks:示例 YouTube 频道(儿童数学教育频道),文档中用于演示获取 Channel ID 的示例频道

Connections

Contradictions

  • 无已知冲突

Aliases

  • Channel ID
  • channel_id
  • YouTube Channel Identifier