> ## Documentation Index
> Fetch the complete documentation index at: https://help.decodo.com/llms.txt
> Use this file to discover all available pages before exploring further.

# YouTube 模板

> 网页抓取 API YouTube 模板

YouTube 可以使用多个不同的模板进行抓取，包括 **YouTube 元数据**、**YouTube 字幕**、**YouTube 搜索** 和 **YouTube 频道**。

在每个相应的目标模板页面中，您将找到：

* 是否可以使用 `JSON` 解析；
* 所需参数；
* 适用于 `cURL`、`Node` 和 `Python` 的即用代码示例，您只需更改网页抓取 API 用户的用户名和密码即可使代码正常工作。

> [!NOTE]
>
> 所有 YouTube 模板默认使用高级代理池。

以下是可用的 YouTube 模板列表。您可以在下面的页面上找到有关每个模板的更多详细信息。

| 模板（目标） | 解析器 | 输入 |
| - | - | - |
| [**YouTube 频道**](https://help.decodo.com/docs/cn/web-scraping-api-youtube-channel.md) | ✅ | `query` |
| [**YouTube 元数据**](https://help.decodo.com/docs/cn/web-scraping-youtube-metadata.md#/) | ✅ | `query` |
| [YouTube 字幕](https://help.decodo.com/docs/cn/web-scraping-api-youtube-subtitles.md) | | `query` |
| [YouTube 搜索](https://help.decodo.com/docs/cn/web-scraping-api-youtube-search.md) | | `query` |

***

> [card] [支持](https://direct.lc.chat/12092754)
>
> 需要帮助或只是想打个招呼？我们的支持团队全天候为您服务。 \
> 您也可以随时通过电子邮件 [support@decodo.com](mailto:support@decodo.com) 联系我们。

> [card] [反馈](mailto:feedback@decodo.com)
>
> 找不到您要找的内容？请求一篇文章！ \
> 有反馈意见？分享您对我们如何改进的想法。


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.