Scrapers.lat logo scrapers.lat
社交媒体

Reddit Media & Images Scraper (Video, GIF, Gallery)

Scrape every image, video, GIF and gallery URL from any subreddit or Reddit post, one record per media item. Get media URL, type, width, height, source post, subreddit, author and score. Export to JSON, CSV or Excel.

18 每条记录的字段 JSON · CSV · Excel · API 按用量付费
reddit-media-scraper.json 200 OK
{
  "mediaUrl": "https://i.redd.it/11jpf5tny9fh1.jpeg",
  "mediaType": "image",
  "sourceDomain": "i.redd.it",
  "postId": "1v5tq8z",
  "postTitle": "From on going Gen Z protest in India.",
  "postFlair": "Politics",
  "postDomain": "i.redd.it",
  "subreddit": "pics",
  "author": "aradtales"
}
你会得到什么

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

  • 每个结果对应一条干净记录,已去重并规范化
  • JSON、CSV 或 Excel 的稳定结构,也可通过 Apify API 读取
  • 在云端按用量付费,无需安装或维护
返回的字段
Media UrlMedia TypeSource DomainPost IdPost TitlePost FlairPost DomainSubredditAuthorAuthor FullnameScoreNum CommentsNum CrosspostsPermalink
示例输出

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

Media UrlMedia TypeSource DomainPost Id
https://i.redd.it/11jpf5tny9fh1.j…imagei.redd.it1v5tq8z
https://i.redd.it/8lc56drf8bfh1.p…imagei.redd.it1v5z278
https://i.redd.it/0z1f3irzz6fh1.j…imagei.redd.it1v5dx0j
https://i.redd.it/tqqrbkg8v9fh1.j…imagei.redd.it1v5tajc
https://i.redd.it/sjdij0u0cbfh1.j…imagei.redd.it1v5zg5c
GET /reddit-media-scraper
{
  "mediaUrl": "https://i.redd.it/11jpf5tny9fh1.jpeg",
  "mediaType": "image",
  "sourceDomain": "i.redd.it",
  "postId": "1v5tq8z",
  "postTitle": "From on going Gen Z protest in India.",
  "postFlair": "Politics",
  "postDomain": "i.redd.it",
  "subreddit": "pics",
  "author": "aradtales"
}

常见问题

What media does it pull from Reddit?

Direct images and GIFs from i.redd.it, videos from v.redd.it (with the highest mp4 fallback when available), and every image inside a multi-image gallery. Posts with no media are skipped, not returned as errors.

Does it include media hosted off Reddit?

Yes, by default. With `includeExternal` enabled it captures links to imgur, gfycat, redgifs and streamable. Turn it off to keep only Reddit-hosted media on i.redd.it and v.redd.it.

How is maxItems counted?

It counts media items, not posts. A single gallery post with ten images counts as ten toward your `maxItems`, since the scraper emits one record per image.

Can I limit it to only images or only videos?

Yes. Set `mediaTypes` to any subset of image, video, gif and gallery. Leave all four selected to capture everything a community posts.

What happens with a post that fails to load?

A post that fails to load is written as a record with an `error` field instead of being silently dropped. Posts that simply have no media are skipped without an error.

你准备好,它就就绪。

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