> 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): 通过频道句柄获取 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, and the optional `goal` query parameter:

```
GET https://developers.oxylabs.io/api-targets/cn/shi-pin-yu-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.
