> For the complete documentation index, see [llms.txt](https://developers.oxylabs.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developers.oxylabs.io/api-targets/cn/shi-pin-yu-she-jiao-mei-ti.md).

# 视频与社交媒体

- [YouTube](https://developers.oxylabs.io/api-targets/cn/shi-pin-yu-she-jiao-mei-ti/youtube.md): 了解如何使用网页爬虫API 获取 YouTube 数据。查看所有受支持的 YouTube 数据源并快速开始。
- [面向 AI 的抓取指南](https://developers.oxylabs.io/api-targets/cn/shi-pin-yu-she-jiao-mei-ti/youtube/youtube-scraping-guide-for-ai.md): 了解如何使用网页爬虫API 获取用于 AI 训练的 YouTube 数据。进一步了解从搜索视频到创建数据库的完整工作流程。
- [搜索](https://developers.oxylabs.io/api-targets/cn/shi-pin-yu-she-jiao-mei-ti/youtube/youtube-search.md): 抓取 YouTube 视频、频道、播放列表和电影的搜索结果，并支持上传日期、时长、内容类型、分辨率、直播、字幕等筛选。
- [视频可训练性](https://developers.oxylabs.io/api-targets/cn/shi-pin-yu-she-jiao-mei-ti/youtube/youtube-video-trainability.md): 通过视频 ID 获取 YouTube 视频的 AI 训练许可状态，包括是否允许所有方、特定方或任何方都不允许训练。
- [元数据](https://developers.oxylabs.io/api-targets/cn/shi-pin-yu-she-jiao-mei-ti/youtube/youtube-metadata.md): 通过视频 ID 获取 YouTube 视频的解析元数据。
- [下载器](https://developers.oxylabs.io/api-targets/cn/shi-pin-yu-she-jiao-mei-ti/youtube/youtube-downloader.md): 通过视频 ID 下载 YouTube 音频和视频内容，视频质量最高可配置到 8K，并直接传输到你的云存储。
- [字幕](https://developers.oxylabs.io/api-targets/cn/shi-pin-yu-she-jiao-mei-ti/youtube/youtube-subtitles.md): 通过视频 ID 提取 YouTube 字幕和隐藏式字幕，支持配置语言和字幕来源（自动生成或上传者提供）。
- [频道](https://developers.oxylabs.io/api-targets/cn/shi-pin-yu-she-jiao-mei-ti/youtube/youtube-channel.md): 通过频道 handle 获取 YouTube 频道数据，包括订阅数、视频数和观看数、通用元数据以及频道视频列表。
- [自动补全](https://developers.oxylabs.io/api-targets/cn/shi-pin-yu-she-jiao-mei-ti/youtube/autocomplete.md): 获取任意搜索词的 YouTube 自动补全关键词建议，支持配置语言和位置。


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://developers.oxylabs.io/api-targets/cn/shi-pin-yu-she-jiao-mei-ti.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
