从频道URL获取频道ID V2/Get channel ID from URL V2

YouTubeapi

About

从频道URL获取频道ID V2/Get channel ID from URL V2

Documentation

从频道URL获取频道ID V2/Get channel ID from URL V2

[中文]

用途:

  • 从YouTube频道URL转换获取频道ID(channel_id)。
  • 支持多种URL格式,包括@用户名格式、/channel/格式、/c/格式、/user/格式。

参数:

  • channel_url: 频道URL。

返回:

  • channel_id: 频道ID(如:UCeu6U67OzJhV1KwBansH3Dg)
  • channel_url: 标准化的频道URL
  • source: 数据来源(url_parse表示直接从URL解析,page_parse表示从页面解析)

[English]

Purpose:

  • Convert YouTube channel URL to channel ID.
  • Supports multiple URL formats including @username, /channel/, /c/, /user/ formats.

Parameters:

  • channel_url: Channel URL.

Returns:

  • channel_id: Channel ID (e.g., UCeu6U67OzJhV1KwBansH3Dg)
  • channel_url: Normalized channel URL
  • source: Data source (url_parse means parsed from URL directly, page_parse means parsed from page)

[示例/Example]

channel_url = "https://www.youtube.com/@CozyCraftYT"

Imported from a validated TikHub OpenAPI document. Pricing must be reviewed before enabling.

Try 从频道URL获取频道ID V2/Get channel ID from URL V2

Test this model in the Sandbase Playground with your own prompts.

Open in Playground

Related Models