public class YouTubeService extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
RawResponse |
audio(YouTubeAudioRequest request)
当用户需要 YouTube 音频文件、YouTube 音频下载、YouTube audio file、音频文件,与采集、抓取、爬取、获取、提取、下载等动词组合时触发。
|
RawResponse |
comment(YouTubeCommentRequest request)
当用户需要 YouTube 评论信息、YouTube 视频评论、YouTube 评论列表、YouTube comment、视频评论信息,与采集、抓取、爬取、获取、提取等动词组合时触发。
|
RawResponse |
product(YouTubeProductRequest request)
当用户需要 YouTube 视频基本信息、YouTube 视频信息、YouTube 视频详情、YouTube product、视频基础资料,与采集、抓取、爬取、获取、提取等动词组合时触发。
|
RawResponse |
profiles(YouTubeProfilesRequest request)
当用户需要 YouTube 个人资料、YouTube 频道资料、YouTube 频道信息、YouTube profile、YouTube 用户信息,与采集、抓取、爬取、获取、提取等动词组合时触发。
|
RawResponse |
transcript(YouTubeTranscriptRequest request)
当用户需要 YouTube 字幕文件、YouTube 字幕、YouTube transcript、视频字幕、字幕下载,与采集、抓取、爬取、获取、提取、下载等动词组合时触发。
|
RawResponse |
video(YouTubeVideoRequest request)
当用户需要 YouTube 视频文件、YouTube 视频下载、YouTube video file、视频文件,与采集、抓取、爬取、获取、提取、下载等动词组合时触发。
|
RawResponse |
videoPost(YouTubeVideoPostRequest request)
当用户需要 YouTube 视频帖子、YouTube 视频列表、YouTube 频道视频、YouTube 搜索视频、YouTube 话题标签视频、YouTube 播客视频、YouTube 探索视频,与采集、抓取、爬取、获取、提取等动词组合时触发。
|
public RawResponse audio(YouTubeAudioRequest request) throws IOException
request - 请求参数;传入 null 时使用默认请求对象IOException - 网络请求或响应读取失败时抛出public RawResponse comment(YouTubeCommentRequest request) throws IOException
request - 请求参数;传入 null 时使用默认请求对象IOException - 网络请求或响应读取失败时抛出public RawResponse product(YouTubeProductRequest request) throws IOException
request - 请求参数;传入 null 时使用默认请求对象IOException - 网络请求或响应读取失败时抛出public RawResponse profiles(YouTubeProfilesRequest request) throws IOException
request - 请求参数;传入 null 时使用默认请求对象IOException - 网络请求或响应读取失败时抛出public RawResponse transcript(YouTubeTranscriptRequest request) throws IOException
request - 请求参数;传入 null 时使用默认请求对象IOException - 网络请求或响应读取失败时抛出public RawResponse video(YouTubeVideoRequest request) throws IOException
request - 请求参数;传入 null 时使用默认请求对象IOException - 网络请求或响应读取失败时抛出public RawResponse videoPost(YouTubeVideoPostRequest request) throws IOException
request - 请求参数;传入 null 时使用默认请求对象IOException - 网络请求或响应读取失败时抛出Copyright © 2026. All rights reserved.