返回所有脚本
免费试用

Youtube产品ID
01KDSMZQDCABJMDTZV1GQB32ND
由 CafeScraper 维护
我们的YouTube抓取工具在成功获取数据后,可让您提取核心视频详情(ID、标题、描述、频道名称、发布时间、观看次数、点赞数、评论数、时长)。您还可以将数据下载为多种结构化格式,以简化整理工作并将其集成到您的工作流程中。
补充说明
YouTube数据采集工具可提取哪些字段信息?
- 视频标题、标识、链接、缩略图、播放量、发布日期
- 点赞数、发布地点、频道名称、频道链接、订阅数、视频时长
- 评论、视频描述、描述中的链接、字幕、变现状态、评论设置
支持哪些输出格式?
JSON、CSV格式。
是否提供技术支持?
是。我们提供文档、示例代码、使用指南以及7×24小时客户服务。
结果示例
以下为采集结果的展示样例。
json
[
{
"title": "Presidential Historian: Trump Has Tried to Introduce Fear in First 100 Days | Amanpour and Company",
"id": "8RePenzQH80",
"url": "https://www.youtube.com/watch?v=8RePenzQH80",
"thumbnailUrl": "https://i.ytimg.com/vi/8RePenzQH80/maxresdefault.jpg",
"viewCount": "434,955 views",
"date": "Apr 30, 2025",
"likes": "Apr 30",
"location": "en_US",
"channelName": "Amanpour and Company",
"channelUrl": "http://www.youtube.com/@AmanpourandCompany",
"numberOfSubscribers": "561K subscribers",
"duration": "0:18:26",
"commentsCount": "1.1K",
"text": "President Trump, taking a victory lap to mark the first 100 days of his second term, said his success surpasses any in U.S. history, \"according to many, many people.” Presidential historian Timothy Naftali places the Trump presidency in context for Walter Isaacson.\n\nOriginally aired on April 30, 2025\n\n----------------------------------------------------------------------------------------------------------------------------------------\n\nMajor support for Amanpour and Company is provided by Jim Attwood and Leslie Williams, Candace King Weir, the Sylvia A. and Simon B. Poyta Programming Endowment to Fight Antisemitism, the Leila and Mickey Straus Family Charitable Trust, Mark J. Blechner, the Filomen M. D’Agostino Foundation, Seton J. Melvin, the Peter G. Peterson and Joan Ganz Cooney Fund, Charles Rosenblum, Koo and Patricia Yuen, Barbara Hope Zuckerberg, and Jeffrey Katz and Beth Rogers.\n\nSubscribe to the Amanpour and Company channel here: https://bit.ly/2EMIkTJ\n\nSubscribe to our daily newsletter to find out who's on each night: http://www.pbs.org/wnet/amanpour-and-...\n\nFor more from Amanpour and Company, including full episodes, click here: https://to.pbs.org/2NBFpjf\n\nThis program is made possible by viewers like you. Please support your local PBS station: http://www.pbs.org/donate\n\nLike Amanpour and Company on Facebook: https://bit.ly/2HNx3EF\n\nFollow Amanpour and Company on Twitter: https://bit.ly/2HLpjTI\n\nFollow Amanpour and Company on Instagram: https://bit.ly/3SaTUhk\n\nWatch Amanpour and Company weekdays on PBS (check local listings).\n\nAmanpour and Company features wide-ranging, in-depth conversations with global thought leaders and cultural influencers on the issues and trends impacting the world each day, from politics, business and technology to arts, science and sports. Christiane Amanpour leads the conversation on global and domestic news from London with contributions by prominent journalists Walter Isaacson, Michel Martin, Alicia Menendez and Hari Sreenivasan from the Tisch WNET Studios at Lincoln Center in New York City.\n\n#amanpourpbs",
"descriptionLinks": [
"https://www.youtube.com/redirect?event=video_description&redir_token=QUFFLUhqbnZDZWtMYzV2ZUUyQnlEQ1ZwcVhMZmU0MVR1QXxBQ3Jtc0tuc0dTbWNmY1hSaHZ5QlFNWG9kUVpiYTVZZElIN3ZzZWp4ZDVaV2w0Nk0tNzRIZXJyTGYwQUZjcWd6dTFwczB3WFIxV1N6Q3dVZlFGdDA5a2V5RjZOalFvR0k5OVRDMnp3cHVVcnlxcVNnek1lSndTQQ&q=https%3A%2F%2Fbit.ly%2F2EMIkTJ&v=8RePenzQH80",
"https://www.youtube.com/hashtag/amanpourpbs"
],
"subtitles": [],
"isMonetized": null,
"commentsTurnedOff": null,
"input": {
"spider_errors": true,
"user_id": 3096,
"pay_num": 1,
"proxy_region": "us",
"url": "https://www.youtube.com/watch?v=8RePenzQH80",
"user_input_id": "youtube_product_by-id",
"video_id": "8RePenzQH80",
"spider_item": {
"v": "8RePenzQH80"
},
"spider_url": "https://www.youtube.com/watch?v=8RePenzQH80"
},
"error": null,
"error_code": null
}
]
字典
| 列名 | 描述 | 数据类型 |
|---|---|---|
| title | 视频标题 | Text |
| id | 视频ID | Text |
| url | 视频链接 | Url |
| thumbnailUrl | 视频缩略图 | Url |
| viewCount | 视频播放量 | Number |
| date | 视频发布时间 | Text |
| likes | 视频点赞数 | Number |
| location | 视频发布地区 | Text |
| channelName | 频道名称 | Text |
| channelUrl | 频道链接 | Url |
| numberOfSubscribers | 订阅人数 | Number |
| duration | 视频时长 | Text |
| commentsCount | 评论数量 | Number |
| text | 视频描述 | Text |
| descriptionLinks | 描述中的链接 | Array |
| subtitles | 字幕 | Text |
| comments | 评论 | Text |
| isMonetized | 变现状态 | Boolean |
| commentsTurnedOff | 评论是否关闭 | Boolean |
输入参数
视频ID video_id Required Text
描述:该参数用于指定需要爬取的YouTube视频的唯一标识。