# Build a public Reddit media corpus

**Use case:** 

Gather media from a defined set of public Reddit post URLs and return clean rows ready for archive review and analysis.

## Input

```json
{
  "urls": [
    "https://www.reddit.com/r/pics/comments/example/example_title/",
    "https://www.reddit.com/r/ChatGPT/comments/1iic23b/who_said_ai_videos_cant_do_physics/"
  ],
  "maxMediaItems": 20,
  "downloadMedia": true,
  "downloadAudio": true,
  "maxFileSizeMb": 250,
  "includeVideoVariants": true,
  "includeNsfw": false,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

## Output

```json
{
  "mediaType": {
    "label": "Type",
    "format": "string"
  },
  "downloadStatus": {
    "label": "Download",
    "format": "string"
  },
  "fileApiUrl": {
    "label": "Saved file",
    "format": "string"
  },
  "mediaUrl": {
    "label": "Source media",
    "format": "string"
  },
  "audioFileApiUrl": {
    "label": "Saved audio",
    "format": "string"
  },
  "title": {
    "label": "Post title",
    "format": "string"
  },
  "subreddit": {
    "label": "Subreddit",
    "format": "string"
  },
  "postId": {
    "label": "Post ID",
    "format": "string"
  },
  "assetIndex": {
    "label": "Index",
    "format": "integer"
  },
  "fileSizeBytes": {
    "label": "Bytes",
    "format": "integer"
  },
  "sourceUrl": {
    "label": "Post",
    "format": "string"
  },
  "provider": {
    "label": "Provider",
    "format": "string"
  }
}
```

## About this Actor

This example demonstrates how to use [Reddit Media Downloader](https://apify.com/khadinakbar/reddit-media-downloader) with a specific input configuration. Visit the [Actor detail page](https://apify.com/khadinakbar/reddit-media-downloader) to learn more, explore other use cases, and run it yourself.