Scrapers.lat logo scrapers.lat
社交媒体

YouTube Video & Channel Data Scraper

Scrape YouTube videos and channels by search query, video URL or channel URL. Get title, view count, channel name, subscribers, duration, publish date, description and thumbnail. Export to JSON, CSV or Excel. No API key or proxy.

18 每条记录的字段 JSON · CSV · Excel · API 按用量付费
youtube-scraper.json 200 OK
{
  "videoId": "_uQrJ0TkZlc",
  "url": "https://www.youtube.com/watch?v=_uQrJ0TkZlc",
  "title": "Python Full Course for Beginners",
  "channelName": "Programming with Mosh",
  "channelId": "UCWv7vMbMWH4-V0ZXdmDpPBA",
  "channelUrl": "https://www.youtube.com/channel/UCWv7vMbMWH4-V…",
  "viewCount": 48407261,
  "viewCountText": "48,407,261 views",
  "likeCount": 1200000
}
你会得到什么

每次运行都返回干净、带类型的记录,可直接用于你的 CRM、表格或数据库。

  • 每个结果对应一条干净记录,已去重并规范化
  • JSON、CSV 或 Excel 的稳定结构,也可通过 Apify API 读取
  • 在云端按用量付费,无需安装或维护
返回的字段
Video IdUrlTitleChannel NameChannel IdChannel UrlView CountView Count TextLike CountLike Count TextDurationPublished TextPublished AtDescription
示例输出

一条真实的示例记录,正是你收到的结构。

Video IdUrlTitleChannel Name
_uQrJ0TkZlchttps://www.youtube.com/watch?v=_…Python Full Course for BeginnersProgramming with Mosh
t8pPdKYpowIhttps://www.youtube.com/watch?v=t…Python Tutorial for Beginners - L…TechWorld with Nana
ix9cRaBkVe0https://www.youtube.com/watch?v=i…Python Full Course for free 🐍Bro Code
K5KVEU3aaeQhttps://www.youtube.com/watch?v=K…Python Full Course for BeginnersProgramming with Mosh
rfscVS0vtbwhttps://www.youtube.com/watch?v=r…Learn Python - Full Course for Be…freeCodeCamp.org
GET /youtube-scraper
{
  "videoId": "_uQrJ0TkZlc",
  "url": "https://www.youtube.com/watch?v=_uQrJ0TkZlc",
  "title": "Python Full Course for Beginners",
  "channelName": "Programming with Mosh",
  "channelId": "UCWv7vMbMWH4-V0ZXdmDpPBA",
  "channelUrl": "https://www.youtube.com/channel/UCWv7vMbMWH4-V…",
  "viewCount": 48407261,
  "viewCountText": "48,407,261 views",
  "likeCount": 1200000
}

常见问题

Can I scrape a whole channel?

Yes. Pass a channel URL (`@handle`, `/channel/UC...`, `/c/name`) and the actor walks the channel's videos up to your `maxItems`.

Does it return view counts and publish dates?

Yes. Every video carries its view count, publish date, duration and channel, plus a description and thumbnail.

Do I need a proxy or API key?

No. The actor reads YouTube's public data directly, with no key and no proxy.

你准备好,它就就绪。

现在就在 Apify 上运行这个爬虫,或让我们按你的确切需求定制一个。