> 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-he-she-jiao-mei-ti.md).

# 视频和社交媒体

- [YouTube](https://developers.oxylabs.io/api-targets/cn/shi-pin-he-she-jiao-mei-ti/youtube.md): 了解如何使用 网页爬虫API 获取 YouTube 数据。探索所有受支持的 YouTube 源并快速入门。
- [面向 AI 的抓取指南](https://developers.oxylabs.io/api-targets/cn/shi-pin-he-she-jiao-mei-ti/youtube/youtube-scraping-guide-for-ai.md): 了解如何使用 网页爬虫API 获取用于 AI 训练的 YouTube 数据。进一步了解从搜索视频到创建数据库的完整工作流程。
- [搜索](https://developers.oxylabs.io/api-targets/cn/shi-pin-he-she-jiao-mei-ti/youtube/youtube-search.md): 抓取 YouTube 中的视频、频道、播放列表和电影搜索结果，支持上传日期、时长、内容类型、分辨率、直播、字幕等筛选。
- [视频可训练性](https://developers.oxylabs.io/api-targets/cn/shi-pin-he-she-jiao-mei-ti/youtube/youtube-video-trainability.md): 通过视频 ID 获取 YouTube 视频的 AI 训练许可状态，包括是否允许所有方、特定方或任何一方进行训练。
- [元数据](https://developers.oxylabs.io/api-targets/cn/shi-pin-he-she-jiao-mei-ti/youtube/youtube-metadata.md): 通过视频 ID 获取 YouTube 视频的解析元数据。
- [下载器](https://developers.oxylabs.io/api-targets/cn/shi-pin-he-she-jiao-mei-ti/youtube/youtube-downloader.md): 通过视频 ID 下载 YouTube 音频和视频内容，视频质量最高可配置为 8K，并直接交付至您的云存储。
- [字幕](https://developers.oxylabs.io/api-targets/cn/shi-pin-he-she-jiao-mei-ti/youtube/youtube-subtitles.md): 通过视频 ID 提取 YouTube 字幕和隐藏式字幕，支持配置语言和字幕来源（自动生成或上传者提供）。
- [频道](https://developers.oxylabs.io/api-targets/cn/shi-pin-he-she-jiao-mei-ti/youtube/youtube-channel.md): 通过频道句柄获取 YouTube 频道数据，包括订阅者、视频和观看次数、常规元数据以及频道视频列表。
- [自动完成](https://developers.oxylabs.io/api-targets/cn/shi-pin-he-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, and the optional `goal` query parameter:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
