{
  "data": {
    "id": "DqfGrD0gg76grH06N",
    "actId": "teGQhmJ83Pw9hvkFu",
    "userId": "tnBVjt3CXmcUrEE3L",
    "startedAt": "2026-11-29T14:23:13.723Z",
    "finishedAt": "2026-11-29T14:23:24.564Z",
    "status": "SUCCEEDED",
    "meta": {
      "origin": "CLI"
    },
    "inputSchema": "{\n  \"title\": \"Reddit Media Archiver Input\",\n  \"description\": \"Choose where to find Reddit media (subreddits, user profiles, exact post URLs or a keyword search), a date range, which media to keep, and whether to save files to the run's key-value store.\",\n  \"type\": \"object\",\n  \"schemaVersion\": 1,\n  \"properties\": {\n    \"mode\": {\n      \"title\": \"Where to look\",\n      \"type\": \"string\",\n      \"description\": \"Pick the source of the posts. Subreddit feeds and user profiles are read newest-first or ranked; exact post URLs are read one by one; Search finds posts by keyword inside the subreddits or profiles you list. Media URLs (i.redd.it, v.redd.it) are also accepted in the post list.\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"subreddits\",\n        \"users\",\n        \"postUrls\",\n        \"search\"\n      ],\n      \"enumTitles\": [\n        \"Subreddit feeds\",\n        \"User profiles\",\n        \"Exact posts or media URLs\",\n        \"Search posts by keyword\"\n      ],\n      \"default\": \"subreddits\",\n      \"prefill\": \"subreddits\",\n      \"sectionCaption\": \"Sources\"\n    },\n    \"subreddits\": {\n      \"title\": \"Subreddits\",\n      \"type\": \"array\",\n      \"description\": \"Communities to pull media from. Accepts bare names, r/ handles and full URLs; combine several with a plus sign. Used when 'Where to look' is Subreddit feeds.\",\n      \"editor\": \"stringList\",\n      \"example\": [\n        \"pics\",\n        \"r/aww\",\n        \"https://www.reddit.com/r/EarthPorn/\"\n      ],\n      \"default\": [],\n      \"prefill\": [\n        \"pics\"\n      ]\n    },\n    \"usernames\": {\n      \"title\": \"Usernames\",\n      \"type\": \"array\",\n      \"description\": \"Reddit profiles whose submitted posts should be scanned for media. Accepts bare names, u/ handles and profile URLs. Used when 'Where to look' is User profiles.\",\n      \"editor\": \"stringList\",\n      \"example\": [\n        \"spez\",\n        \"u/Reddit\"\n      ],\n      \"default\": [],\n      \"prefill\": []\n    },\n    \"postUrls\": {\n      \"title\": \"Post or media URLs\",\n      \"type\": \"array\",\n      \"description\": \"Exact Reddit posts to read. Accepts permalinks, redd.it short links, gallery URLs, bare post IDs and direct i.redd.it / v.redd.it links. Used when 'Where to look' is Exact posts.\",\n      \"editor\": \"stringList\",\n      \"example\": [\n        \"https://www.reddit.com/r/pics/comments/1xwmtsy/oc/\",\n        \"https://redd.it/1xwmtsy\",\n        \"https://v.redd.it/42bsi3rv3p1i1\"\n      ],\n      \"default\": [],\n      \"prefill\": []\n    },\n    \"searchQueries\": {\n      \"title\": \"Search keywords\",\n      \"type\": \"array\",\n      \"description\": \"Words or phrases to find in post titles and text, one per line. Search runs inside every subreddit and profile you list; results are filtered and downloaded exactly like a feed. Used when 'Where to look' is Search.\",\n      \"editor\": \"stringList\",\n      \"example\": [\n        \"sunset timelapse\",\n        \"dog\"\n      ],\n      \"default\": [],\n      \"prefill\": [],\n      \"sectionCaption\": \"Search and date range\"\n    },\n    \"postedAfter\": {\n      \"title\": \"Posts from (date)\",\n      \"type\": \"string\",\n      \"description\": \"Optional earliest post date. Accepts a date like 2026-01-01 or a full ISO timestamp. Applies to feeds and searches. Leave empty for no lower limit.\",\n      \"editor\": \"datepicker\"\n    },\n    \"postedBefore\": {\n      \"title\": \"Posts until (date)\",\n      \"type\": \"string\",\n      \"description\": \"Optional latest post date. Accepts a date like 2026-01-31 or a full ISO timestamp. Applies to feeds and searches. Leave empty for no upper limit.\",\n      \"editor\": \"datepicker\"\n    },\n    \"sort\": {\n      \"title\": \"Feed ranking\",\n      \"type\": \"string\",\n      \"description\": \"How to rank subreddit and profile posts. New is strict newest-first. Top ranks by score inside the chosen time window. Hot blends score and freshness. Rising favours posts gaining score quickly. Profile feeds have no true hot/rising ranking, so they fall back to newest-first.\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"hot\",\n        \"new\",\n        \"top\",\n        \"rising\"\n      ],\n      \"enumTitles\": [\n        \"Hot — trending now\",\n        \"New — newest first\",\n        \"Top — highest score in the time window\",\n        \"Rising — gaining score quickly\"\n      ],\n      \"default\": \"hot\",\n      \"prefill\": \"top\",\n      \"sectionCaption\": \"Feed options\"\n    },\n    \"time\": {\n      \"title\": \"Top time window\",\n      \"type\": \"string\",\n      \"description\": \"How far back Top and Rising look. Ignored by New and Hot.\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"hour\",\n        \"day\",\n        \"week\",\n        \"month\",\n        \"year\",\n        \"all\"\n      ],\n      \"enumTitles\": [\n        \"Past hour\",\n        \"Past day\",\n        \"Past week\",\n        \"Past month\",\n        \"Past year\",\n        \"All time\"\n      ],\n      \"default\": \"week\",\n      \"prefill\": \"week\"\n    },\n    \"includeNsfw\": {\n      \"title\": \"Include 18+ posts\",\n      \"type\": \"boolean\",\n      \"description\": \"Keep posts marked 18+ (NSFW). Off by default.\",\n      \"default\": false,\n      \"prefill\": false\n    },\n    \"minScore\": {\n      \"title\": \"Minimum post score\",\n      \"type\": \"integer\",\n      \"description\": \"Keep only posts with at least this score (upvotes minus downvotes). Leave at 0 to keep every post.\",\n      \"minimum\": 0,\n      \"maximum\": 1000000,\n      \"default\": 0,\n      \"prefill\": 0\n    },\n    \"mediaTypes\": {\n      \"title\": \"Media to keep\",\n      \"type\": \"array\",\n      \"description\": \"Which kinds of posts to download. Image is a standalone picture, Gallery is a multi-image post (every slide is saved), Video is a Reddit-hosted video, and GIF covers animated images including Reddit's animated v.redd.it posts. Gallery and GIF items inside a gallery are kept when Gallery is selected.\",\n      \"editor\": \"select\",\n      \"items\": {\n        \"type\": \"string\",\n        \"enum\": [\n          \"image\",\n          \"gallery\",\n          \"video\",\n          \"gif\"\n        ],\n        \"enumTitles\": [\n          \"Image — standalone picture\",\n          \"Gallery — every slide of a multi-image post\",\n          \"Video — Reddit-hosted video\",\n          \"GIF — animated image\"\n        ]\n      },\n      \"default\": [\n        \"image\",\n        \"gallery\",\n        \"video\",\n        \"gif\"\n      ],\n      \"prefill\": [\n        \"image\",\n        \"gallery\"\n      ],\n      \"sectionCaption\": \"What to keep\"\n    },\n    \"maxPostsPerSource\": {\n      \"title\": \"Maximum posts per source\",\n      \"type\": \"integer\",\n      \"description\": \"How many posts containing a matching media type to read from each subreddit or profile. The run scans further back to find them, up to about 1,000 posts per source.\",\n      \"minimum\": 1,\n      \"maximum\": 1000,\n      \"default\": 100,\n      \"prefill\": 3\n    },\n    \"maxFiles\": {\n      \"title\": \"Maximum files\",\n      \"type\": \"integer\",\n      \"description\": \"Stop after saving this many media files across the whole run. A gallery is cut at the limit.\",\n      \"minimum\": 1,\n      \"maximum\": 10000,\n      \"default\": 100,\n      \"prefill\": 1\n    },\n    \"maxVideoQuality\": {\n      \"title\": \"Maximum video quality\",\n      \"type\": \"string\",\n      \"description\": \"Cap the short side of Reddit-hosted video renditions. The best rendition at or below the cap is downloaded; Best available takes the largest.\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"best\",\n        \"1080\",\n        \"720\",\n        \"480\",\n        \"360\",\n        \"270\",\n        \"220\"\n      ],\n      \"enumTitles\": [\n        \"Best available\",\n        \"Up to 1080p\",\n        \"Up to 720p\",\n        \"Up to 480p\",\n        \"Up to 360p\",\n        \"Up to 270p\",\n        \"Up to 220p\"\n      ],\n      \"default\": \"best\",\n      \"prefill\": \"best\"\n    },\n    \"rehostFiles\": {\n      \"title\": \"Save files to the key-value store\",\n      \"type\": \"boolean\",\n      \"description\": \"On: download the media, merge Reddit video and audio into one MP4, and return a public file link. Off: skip downloads and return the direct media URLs and stream URLs only, which is faster and uses no file storage.\",\n      \"default\": true,\n      \"prefill\": true,\n      \"sectionCaption\": \"Files\"\n    },\n    \"includeThumbnails\": {\n      \"title\": \"Save a thumbnail per media file\",\n      \"type\": \"boolean\",\n      \"description\": \"Add a small JPEG thumbnail for every saved picture or video (generated from the file, or from Reddit's thumbnail when files are not downloaded). Off by default.\",\n      \"default\": false,\n      \"prefill\": false\n    },\n    \"maxFileSizeMb\": {\n      \"title\": \"Maximum file size (MB)\",\n      \"type\": \"integer\",\n      \"description\": \"Skip a media file larger than this. Videos above the limit are skipped rather than truncated. 1 to 2048 MB.\",\n      \"minimum\": 1,\n      \"maximum\": 2048,\n      \"default\": 250,\n      \"prefill\": 250\n    },\n    \"downloadConcurrency\": {\n      \"title\": \"Parallel downloads\",\n      \"type\": \"integer\",\n      \"description\": \"How many files to download and merge at the same time. 1 to 8; higher is faster but uses more memory and disk.\",\n      \"minimum\": 1,\n      \"maximum\": 8,\n      \"default\": 3,\n      \"prefill\": 3\n    },\n    \"includeExternalMedia\": {\n      \"title\": \"Include external direct images\",\n      \"type\": \"boolean\",\n      \"description\": \"Also download direct image and GIF links on imgur, Giphy and Gyazo when a Reddit post points to them. Embedded players and article pages are never downloaded.\",\n      \"default\": false,\n      \"prefill\": false\n    }\n  }\n}",
    "readme": "# Reddit Media Archiver — Download Videos, Galleries & GIFs\n\nTurn Reddit posts into real, ready-to-use media files. Point the actor at subreddit feeds, user profiles, exact post links or a keyword search inside the communities you name, and it saves each Reddit-hosted video as one playable MP4 with its audio track, every slide of a gallery at full resolution, and standalone images and GIFs as-is. Each file gets a public link in the run's key-value store, a SHA-256 checksum and verified media metadata, and every row carries the post's title, author, community, score and source links.\n\nYou do not need a Reddit account, an API key, cookies or a proxy.\n\n## What you get\n\nOne row per saved file:\n\n```json\n{\n  \"postId\": \"1xwl75w\",\n  \"postTitle\": \"Big Bruce.\",\n  \"postUrl\": \"https://www.reddit.com/r/funny/comments/1xwl75w/big_bruce/\",\n  \"subreddit\": \"funny\",\n  \"author\": \"videoauthor\",\n  \"score\": 150,\n  \"postType\": \"video\",\n  \"mediaType\": \"video\",\n  \"originalMediaUrl\": \"https://v.redd.it/42bsi3rv3p1i1\",\n  \"fileUrl\": \"https://api.apify.com/v2/key-value-stores/.../records/reddit_1xwl75w_01.mp4\",\n  \"fileName\": \"reddit_1xwl75w_01.mp4\",\n  \"fileSize\": 8899790,\n  \"width\": 720,\n  \"height\": 1280,\n  \"durationSeconds\": 32.967,\n  \"hasAudio\": true,\n  \"videoQuality\": 720,\n  \"captionFileUrl\": \"https://api.apify.com/v2/key-value-stores/.../records/caption_reddit_1xwl75w_01.vtt\",\n  \"captionLanguage\": \"en\",\n  \"scrapedAt\": \"2026-11-15T05:54:52+00:00\"\n}\n```\n\nA gallery expands to one row per slide, each with `galleryPosition`, `galleryMediaId`, the full-resolution `originalMediaUrl` and, when the poster added one, its caption and outbound link. A standalone image or GIF produces a single image or GIF row. Files can be downloaded to the run's key-value store, or you can keep only the direct links by turning off **Save files to the key-value store**.\n\n## Use cases\n\n- **Archive a community's visual output.** Run `sort: new` on a schedule to keep a local or cloud copy of everything a subreddit posts.\n- **Save a creator's portfolio.** Give a username and collect their images, galleries and videos with the post context attached.\n- **Back up a thread.** Paste the post links you care about and get every gallery slide and the merged video.\n- **Find media by topic.** Search a keyword inside one or more communities, then download only the matching images, galleries and videos from a date range you choose.\n- **Feed a media pipeline.** One row per file, stable file links, dimensions, duration and an audio flag make the output easy to load into a database, a CMS, an n8n workflow or a vision-training job.\n- **Research visual trends.** Compare media formats and communities using the score, flair and creation date that come with every row.\n\n## Input reference\n\n| Field | Type | Default | What it does |\n| --- | --- | --- | --- |\n| `mode` | select | `subreddits` | Where to look: subreddit feeds, user profiles, exact post/media URLs, or a keyword search inside the communities and profiles you list. If the chosen list is empty, the actor uses whichever source list is filled. |\n| `subreddits` | list of text | `–` | Communities to read, or the communities a search runs inside. Accepts `pics`, `r/pics` and full URLs. Join several with `+`. |\n| `usernames` | list of text | `–` | Profiles whose submitted posts are scanned, or the profiles a search runs inside. Accepts `spez`, `u/spez` and profile URLs. |\n| `postUrls` | list of text | `–` | Exact posts to read. Accepts permalinks, `redd.it` short links, gallery links, bare post IDs and direct `i.redd.it` / `v.redd.it` links. |\n| `searchQueries` | list of text | `–` | Keywords or phrases to find in post titles and text. Used with Search mode and applied inside every subreddit and profile listed above. |\n| `postedAfter` | date | `–` | Optional earliest post date (`YYYY-MM-DD` or full ISO). Applies to feeds and searches. |\n| `postedBefore` | date | `–` | Optional latest post date (`YYYY-MM-DD` or full ISO). Applies to feeds and searches. |\n| `sort` | select | `hot` | Feed ranking: hot, new, top or rising. Profile feeds fall back to newest-first for hot and rising. |\n| `time` | select | `week` | Time window for Top and Rising: hour, day, week, month, year or all. |\n| `includeNsfw` | boolean | `false` | Keep posts marked 18+. Off by default. |\n| `minScore` | integer | `0` | Keep only posts at or above this score. |\n| `mediaTypes` | multi-select | `[\"image\",\"gallery\",\"video\",\"gif\"]` | Which kinds of posts to save. Gallery keeps every slide; GIF covers animated images including Reddit's animated video posts. |\n| `maxPostsPerSource` | integer | `100` | How many posts with matching media to save from each subreddit or profile. The scan looks further back to find them, up to about 1,000 posts per source. |\n| `maxFiles` | integer | `100` | Stop after saving this many files across the run. A gallery is cut at the limit. |\n| `maxVideoQuality` | select | `best` | Cap the short side of Reddit video renditions: best, 1080, 720, 480, 360, 270 or 220. The best rendition at or below the cap is used. |\n| `rehostFiles` | boolean | `true` | On: download and merge media and return public file links. Off: return direct media and stream URLs only, with no file storage. |\n| `includeThumbnails` | boolean | `false` | Save a small JPEG thumbnail for each saved file. With file downloads off, only Reddit's own reachable thumbnails are used. |\n| `maxFileSizeMb` | integer | `250` | Skip a media file larger than this. Videos above the limit are skipped, not truncated. |\n| `downloadConcurrency` | integer | `3` | How many files to download and merge at once (1–8). |\n| `includeExternalMedia` | boolean | `false` | Also save direct image and GIF files on imgur, Giphy and Gyazo when a Reddit post points to them. Embedded players are never downloaded. |\n\nAt least one of `subreddits`, `usernames` or `postUrls` must be filled in. Search mode also needs `searchQueries` plus at least one subreddit or username to search inside. `maxPostsPerSource` applies to subreddit feeds, profile feeds and each search query; every exact post URL is read.\n\n## Output fields\n\n| Field | Description |\n| --- | --- |\n| `postId`, `postFullId` | Reddit post ID (`1xwl75w`) and fullname (`t3_1xwl75w`). Omitted for a bare media link with no matching post. |\n| `postTitle`, `postUrl`, `permalink` | Post title and links. |\n| `subreddit`, `subredditPrefixed`, `author`, `authorFullname`, `authorFlair` | Community and author context. |\n| `postCreatedAt`, `score`, `upvoteRatio`, `numComments` | Publication time and engagement. |\n| `over18`, `spoiler`, `flair` | Post markers and link flair. |\n| `postType` | `image`, `gif`, `video` or `gallery`. |\n| `mediaType` | Type of this file: `image`, `gif` or `video`. Gallery slides carry their own type. |\n| `mediaId`, `mediaIndex`, `mediaCount` | Media identifier, position of this file among the post's files, and how many the post has. |\n| `galleryPosition`, `galleryMediaId` | Slide number (1-based) and Reddit's media ID for gallery entries. |\n| `originalMediaUrl` | Full-resolution source URL (`i.redd.it`, `v.redd.it` or a whitelisted external host). |\n| `sourceHost` | Host of the original media URL. |\n| `fileUrl`, `fileKey`, `fileName`, `fileSize`, `contentType`, `fileExtension` | Saved file link and metadata. Present when `rehostFiles` is on. `fileSize` is in bytes. |\n| `width`, `height` | Pixel dimensions of the saved or selected media. |\n| `durationSeconds` | Video duration (or GIF/video length when Reddit reports it). |\n| `hasAudio` | Whether the merged video has an audio track. |\n| `fps`, `videoCodec`, `audioCodec` | Measured frame rate and codecs of the saved video. |\n| `videoQuality` | Selected rendition's short side in pixels (for example 720). |\n| `videoStreamUrl`, `audioStreamUrl` | Direct video-only and audio-only stream URLs. |\n| `sha256` | SHA-256 checksum of the saved file, computed while downloading. |\n| `caption`, `outboundUrl` | Gallery slide caption and outbound link, when the poster added them. |\n| `captionFileUrl`, `captionLanguage`, `captionLabel`, `captionLanguages` | WebVTT caption file and its language, when Reddit exposes a subtitle track. |\n| `thumbnailUrl`, `thumbnailOriginalUrl` | Saved thumbnail link (and Reddit's thumbnail, when used). |\n| `crosspostOfPostId`, `isCrosspost` | Parent post ID and crosspost flag when the media comes from a crosspost. |\n| `searchQuery` | The keyword that found the post, in Search mode. |\n| `sourceInput`, `sourceType` | The subreddit, username, URL or search query that produced the row, and its kind. |\n| `scrapedAt` | When the run collected the row. |\n| `recordType` | Always `mediaFile`. |\n\nEmpty values are omitted; the actor never writes `null`, blank strings or empty lists.\n\n## Examples\n\n**Newest images and galleries from two communities**\n\n```json\n{\n  \"mode\": \"subreddits\",\n  \"subreddits\": [\"EarthPorn\", \"r/wallpapers\"],\n  \"sort\": \"new\",\n  \"mediaTypes\": [\"image\", \"gallery\"],\n  \"maxPostsPerSource\": 20,\n  \"maxFiles\": 50\n}\n```\n\n**A user's last 30 videos, capped at 720p**\n\n```json\n{\n  \"mode\": \"users\",\n  \"usernames\": [\"exampleCreator\"],\n  \"sort\": \"new\",\n  \"mediaTypes\": [\"video\"],\n  \"maxPostsPerSource\": 30,\n  \"maxVideoQuality\": \"720\",\n  \"maxFiles\": 30\n}\n```\n\n**Exact posts, every gallery slide and the merged video**\n\n```json\n{\n  \"mode\": \"postUrls\",\n  \"postUrls\": [\n    \"https://www.reddit.com/r/pics/comments/1xwmtsy/oc/\",\n    \"https://redd.it/1xwl75w\",\n    \"https://v.redd.it/42bsi3rv3p1i1\"\n  ],\n  \"mediaTypes\": [\"image\", \"gallery\", \"video\", \"gif\"],\n  \"includeThumbnails\": true\n}\n```\n\n**Keyword search inside two communities, past month only**\n\n```json\n{\n  \"mode\": \"search\",\n  \"searchQueries\": [\"sunset timelapse\", \"storm\"],\n  \"subreddits\": [\"EarthPorn\", \"natureismetal\"],\n  \"sort\": \"top\",\n  \"time\": \"month\",\n  \"postedAfter\": \"2026-10-31\",\n  \"mediaTypes\": [\"image\", \"gallery\", \"video\"],\n  \"maxPostsPerSource\": 20,\n  \"maxFiles\": 25\n}\n```\n\n**Direct links only, no file storage**\n\n```json\n{\n  \"mode\": \"subreddits\",\n  \"subreddits\": [\"pics\"],\n  \"sort\": \"top\",\n  \"time\": \"week\",\n  \"mediaTypes\": [\"image\"],\n  \"rehostFiles\": false,\n  \"maxFiles\": 10\n}\n```\n\n## How it works\n\nReddit's anonymous JSON endpoints are blocked, so the actor reads public post records from the Arctic Shift archive, which keeps Reddit's original media shapes (galleries, crosspost parents and `v.redd.it` manifests). The archive also provides keyword search and date filtering inside a subreddit or author scope. Reddit Atom feeds provide the true hot/top/rising order for the first 25 posts when available; the archive fills the rest and supplies the media records. Files are downloaded from Reddit's media CDNs. For a Reddit video, the separate video and audio DASH tracks are merged with ffmpeg without re-encoding; if the best rendition is above your size limit, the actor retries a smaller rendition before skipping. A caption track is saved when the video's HLS manifest exposes one. No cookies, logins or proxy setup are used.\n\n## FAQ\n\n**Do I need a Reddit account or API key?**\nNo. The actor is cookieless and keyless.\n\n**Why is a Reddit video sometimes missing audio?**\nIt is not. Reddit stores video and audio separately; the actor downloads both and merges them into one MP4. If a video genuinely has no audio track, `hasAudio` is `false` and the file is saved without audio.\n\n**Are galleries complete?**\nYes. Every slide is saved at full resolution in the poster's order, with captions and outbound links when present.\n\n**Can I search Reddit by keyword?**\nYes, inside the subreddits or user profiles you list in Search mode, optionally limited with `postedAfter` and `postedBefore`. A global all-Reddit search is not offered because the anonymous archive only accepts a subreddit or author scope.\n\n**Can I get just the links instead of files?**\nYes. Turn off **Save files to the key-value store** and the rows keep the direct media URLs and video/audio stream URLs without downloading or storing files.\n\n**Can I schedule it?**\nYes. A daily or hourly schedule with `sort: new` keeps a media archive current. Each run is independent, so de-duplicate on `postFile` or `originalMediaUrl` on your side if you append to one place.\n\n**Does it include NSFW content?**\nOnly when you turn on **Include 18+ posts**. It is off by default.\n\n**What happens to removed posts?**\nReddit deletes the media of removed and deleted posts. The actor detects those records and skips them instead of returning broken links.\n\n## Limits\n\n- **Removed or deleted posts** are skipped; their media files are gone from Reddit's CDN.\n- **Search is scoped** to the subreddits and profiles you name. The archive does not support an all-Reddit keyword query without a scope, and Reddit's anonymous search endpoints are blocked.\n- **Hot, Top and Rising** use Reddit's own order for the newest 25 posts when its feed is reachable, then a bounded archive ranking. The actor scans up to about 1,000 posts per source, so a very large community may not reach every post in a long time window.\n- **Top of all time** returns Reddit's current all-time leaders (25) plus the best-scoring posts of the past year as a supplement.\n- **Scores** come from the archive and can lag behind live Reddit for posts newer than about 36 hours.\n- **Video captions** are saved only when Reddit publishes a subtitle track for that video.\n- **Preview thumbnails** hosted on `preview.redd.it` are blocked by Reddit, so the actor never returns those URLs. It uses full-resolution media and generated thumbnails instead.\n- **Third-party players** (YouTube, Streamable, Redgifs and similar) are not downloaded; direct image and GIF files on imgur, Giphy and Gyazo are available with the external-media option. Redgifs needs a separate authenticated API and is out of scope.\n- **Controversial sort** is not offered: the archive only ranks by date and score, and Reddit's controversial ordering is not available anonymously.\n- **Media uploaded inside comments** is not collected: archive comment records carry no media metadata, and direct media links in comment bodies are too rare to make a reliable field.\n- **Private, quarantined or login-only communities** are out of scope because the actor uses no credentials.\n- **File size**: files over `maxFileSizeMb` are skipped, and very large videos may need a larger run memory/disk.\n- **File links** live in the run's key-value store and are signed by Apify; download or copy them while the run's storage is retained.\n\nUse the actor only for media you have the right to download and store, and follow the source community's rules and applicable law.\n",
    "actorDefinition": {
      "actorSpecification": 1,
      "name": "reddit-media-downloader",
      "title": "Reddit Media Archiver — Download Videos, Galleries & GIFs",
      "description": "Download Reddit images and videos with metadata. Search by keyword or URL, filter by date, and get hashes, dimensions, duration, codecs, media IDs, author flair and size-aware video renditions.",
      "version": "1.0",
      "buildTag": "latest",
      "dockerfile": "../Dockerfile",
      "readme": "# Reddit Media Archiver — Download Videos, Galleries & GIFs\n\nTurn Reddit posts into real, ready-to-use media files. Point the actor at subreddit feeds, user profiles, exact post links or a keyword search inside the communities you name, and it saves each Reddit-hosted video as one playable MP4 with its audio track, every slide of a gallery at full resolution, and standalone images and GIFs as-is. Each file gets a public link in the run's key-value store, a SHA-256 checksum and verified media metadata, and every row carries the post's title, author, community, score and source links.\n\nYou do not need a Reddit account, an API key, cookies or a proxy.\n\n## What you get\n\nOne row per saved file:\n\n```json\n{\n  \"postId\": \"1xwl75w\",\n  \"postTitle\": \"Big Bruce.\",\n  \"postUrl\": \"https://www.reddit.com/r/funny/comments/1xwl75w/big_bruce/\",\n  \"subreddit\": \"funny\",\n  \"author\": \"videoauthor\",\n  \"score\": 150,\n  \"postType\": \"video\",\n  \"mediaType\": \"video\",\n  \"originalMediaUrl\": \"https://v.redd.it/42bsi3rv3p1i1\",\n  \"fileUrl\": \"https://api.apify.com/v2/key-value-stores/.../records/reddit_1xwl75w_01.mp4\",\n  \"fileName\": \"reddit_1xwl75w_01.mp4\",\n  \"fileSize\": 8899790,\n  \"width\": 720,\n  \"height\": 1280,\n  \"durationSeconds\": 32.967,\n  \"hasAudio\": true,\n  \"videoQuality\": 720,\n  \"captionFileUrl\": \"https://api.apify.com/v2/key-value-stores/.../records/caption_reddit_1xwl75w_01.vtt\",\n  \"captionLanguage\": \"en\",\n  \"scrapedAt\": \"2026-11-15T05:54:52+00:00\"\n}\n```\n\nA gallery expands to one row per slide, each with `galleryPosition`, `galleryMediaId`, the full-resolution `originalMediaUrl` and, when the poster added one, its caption and outbound link. A standalone image or GIF produces a single image or GIF row. Files can be downloaded to the run's key-value store, or you can keep only the direct links by turning off **Save files to the key-value store**.\n\n## Use cases\n\n- **Archive a community's visual output.** Run `sort: new` on a schedule to keep a local or cloud copy of everything a subreddit posts.\n- **Save a creator's portfolio.** Give a username and collect their images, galleries and videos with the post context attached.\n- **Back up a thread.** Paste the post links you care about and get every gallery slide and the merged video.\n- **Find media by topic.** Search a keyword inside one or more communities, then download only the matching images, galleries and videos from a date range you choose.\n- **Feed a media pipeline.** One row per file, stable file links, dimensions, duration and an audio flag make the output easy to load into a database, a CMS, an n8n workflow or a vision-training job.\n- **Research visual trends.** Compare media formats and communities using the score, flair and creation date that come with every row.\n\n## Input reference\n\n| Field | Type | Default | What it does |\n| --- | --- | --- | --- |\n| `mode` | select | `subreddits` | Where to look: subreddit feeds, user profiles, exact post/media URLs, or a keyword search inside the communities and profiles you list. If the chosen list is empty, the actor uses whichever source list is filled. |\n| `subreddits` | list of text | `–` | Communities to read, or the communities a search runs inside. Accepts `pics`, `r/pics` and full URLs. Join several with `+`. |\n| `usernames` | list of text | `–` | Profiles whose submitted posts are scanned, or the profiles a search runs inside. Accepts `spez`, `u/spez` and profile URLs. |\n| `postUrls` | list of text | `–` | Exact posts to read. Accepts permalinks, `redd.it` short links, gallery links, bare post IDs and direct `i.redd.it` / `v.redd.it` links. |\n| `searchQueries` | list of text | `–` | Keywords or phrases to find in post titles and text. Used with Search mode and applied inside every subreddit and profile listed above. |\n| `postedAfter` | date | `–` | Optional earliest post date (`YYYY-MM-DD` or full ISO). Applies to feeds and searches. |\n| `postedBefore` | date | `–` | Optional latest post date (`YYYY-MM-DD` or full ISO). Applies to feeds and searches. |\n| `sort` | select | `hot` | Feed ranking: hot, new, top or rising. Profile feeds fall back to newest-first for hot and rising. |\n| `time` | select | `week` | Time window for Top and Rising: hour, day, week, month, year or all. |\n| `includeNsfw` | boolean | `false` | Keep posts marked 18+. Off by default. |\n| `minScore` | integer | `0` | Keep only posts at or above this score. |\n| `mediaTypes` | multi-select | `[\"image\",\"gallery\",\"video\",\"gif\"]` | Which kinds of posts to save. Gallery keeps every slide; GIF covers animated images including Reddit's animated video posts. |\n| `maxPostsPerSource` | integer | `100` | How many posts with matching media to save from each subreddit or profile. The scan looks further back to find them, up to about 1,000 posts per source. |\n| `maxFiles` | integer | `100` | Stop after saving this many files across the run. A gallery is cut at the limit. |\n| `maxVideoQuality` | select | `best` | Cap the short side of Reddit video renditions: best, 1080, 720, 480, 360, 270 or 220. The best rendition at or below the cap is used. |\n| `rehostFiles` | boolean | `true` | On: download and merge media and return public file links. Off: return direct media and stream URLs only, with no file storage. |\n| `includeThumbnails` | boolean | `false` | Save a small JPEG thumbnail for each saved file. With file downloads off, only Reddit's own reachable thumbnails are used. |\n| `maxFileSizeMb` | integer | `250` | Skip a media file larger than this. Videos above the limit are skipped, not truncated. |\n| `downloadConcurrency` | integer | `3` | How many files to download and merge at once (1–8). |\n| `includeExternalMedia` | boolean | `false` | Also save direct image and GIF files on imgur, Giphy and Gyazo when a Reddit post points to them. Embedded players are never downloaded. |\n\nAt least one of `subreddits`, `usernames` or `postUrls` must be filled in. Search mode also needs `searchQueries` plus at least one subreddit or username to search inside. `maxPostsPerSource` applies to subreddit feeds, profile feeds and each search query; every exact post URL is read.\n\n## Output fields\n\n| Field | Description |\n| --- | --- |\n| `postId`, `postFullId` | Reddit post ID (`1xwl75w`) and fullname (`t3_1xwl75w`). Omitted for a bare media link with no matching post. |\n| `postTitle`, `postUrl`, `permalink` | Post title and links. |\n| `subreddit`, `subredditPrefixed`, `author`, `authorFullname`, `authorFlair` | Community and author context. |\n| `postCreatedAt`, `score`, `upvoteRatio`, `numComments` | Publication time and engagement. |\n| `over18`, `spoiler`, `flair` | Post markers and link flair. |\n| `postType` | `image`, `gif`, `video` or `gallery`. |\n| `mediaType` | Type of this file: `image`, `gif` or `video`. Gallery slides carry their own type. |\n| `mediaId`, `mediaIndex`, `mediaCount` | Media identifier, position of this file among the post's files, and how many the post has. |\n| `galleryPosition`, `galleryMediaId` | Slide number (1-based) and Reddit's media ID for gallery entries. |\n| `originalMediaUrl` | Full-resolution source URL (`i.redd.it`, `v.redd.it` or a whitelisted external host). |\n| `sourceHost` | Host of the original media URL. |\n| `fileUrl`, `fileKey`, `fileName`, `fileSize`, `contentType`, `fileExtension` | Saved file link and metadata. Present when `rehostFiles` is on. `fileSize` is in bytes. |\n| `width`, `height` | Pixel dimensions of the saved or selected media. |\n| `durationSeconds` | Video duration (or GIF/video length when Reddit reports it). |\n| `hasAudio` | Whether the merged video has an audio track. |\n| `fps`, `videoCodec`, `audioCodec` | Measured frame rate and codecs of the saved video. |\n| `videoQuality` | Selected rendition's short side in pixels (for example 720). |\n| `videoStreamUrl`, `audioStreamUrl` | Direct video-only and audio-only stream URLs. |\n| `sha256` | SHA-256 checksum of the saved file, computed while downloading. |\n| `caption`, `outboundUrl` | Gallery slide caption and outbound link, when the poster added them. |\n| `captionFileUrl`, `captionLanguage`, `captionLabel`, `captionLanguages` | WebVTT caption file and its language, when Reddit exposes a subtitle track. |\n| `thumbnailUrl`, `thumbnailOriginalUrl` | Saved thumbnail link (and Reddit's thumbnail, when used). |\n| `crosspostOfPostId`, `isCrosspost` | Parent post ID and crosspost flag when the media comes from a crosspost. |\n| `searchQuery` | The keyword that found the post, in Search mode. |\n| `sourceInput`, `sourceType` | The subreddit, username, URL or search query that produced the row, and its kind. |\n| `scrapedAt` | When the run collected the row. |\n| `recordType` | Always `mediaFile`. |\n\nEmpty values are omitted; the actor never writes `null`, blank strings or empty lists.\n\n## Examples\n\n**Newest images and galleries from two communities**\n\n```json\n{\n  \"mode\": \"subreddits\",\n  \"subreddits\": [\"EarthPorn\", \"r/wallpapers\"],\n  \"sort\": \"new\",\n  \"mediaTypes\": [\"image\", \"gallery\"],\n  \"maxPostsPerSource\": 20,\n  \"maxFiles\": 50\n}\n```\n\n**A user's last 30 videos, capped at 720p**\n\n```json\n{\n  \"mode\": \"users\",\n  \"usernames\": [\"exampleCreator\"],\n  \"sort\": \"new\",\n  \"mediaTypes\": [\"video\"],\n  \"maxPostsPerSource\": 30,\n  \"maxVideoQuality\": \"720\",\n  \"maxFiles\": 30\n}\n```\n\n**Exact posts, every gallery slide and the merged video**\n\n```json\n{\n  \"mode\": \"postUrls\",\n  \"postUrls\": [\n    \"https://www.reddit.com/r/pics/comments/1xwmtsy/oc/\",\n    \"https://redd.it/1xwl75w\",\n    \"https://v.redd.it/42bsi3rv3p1i1\"\n  ],\n  \"mediaTypes\": [\"image\", \"gallery\", \"video\", \"gif\"],\n  \"includeThumbnails\": true\n}\n```\n\n**Keyword search inside two communities, past month only**\n\n```json\n{\n  \"mode\": \"search\",\n  \"searchQueries\": [\"sunset timelapse\", \"storm\"],\n  \"subreddits\": [\"EarthPorn\", \"natureismetal\"],\n  \"sort\": \"top\",\n  \"time\": \"month\",\n  \"postedAfter\": \"2026-10-31\",\n  \"mediaTypes\": [\"image\", \"gallery\", \"video\"],\n  \"maxPostsPerSource\": 20,\n  \"maxFiles\": 25\n}\n```\n\n**Direct links only, no file storage**\n\n```json\n{\n  \"mode\": \"subreddits\",\n  \"subreddits\": [\"pics\"],\n  \"sort\": \"top\",\n  \"time\": \"week\",\n  \"mediaTypes\": [\"image\"],\n  \"rehostFiles\": false,\n  \"maxFiles\": 10\n}\n```\n\n## How it works\n\nReddit's anonymous JSON endpoints are blocked, so the actor reads public post records from the Arctic Shift archive, which keeps Reddit's original media shapes (galleries, crosspost parents and `v.redd.it` manifests). The archive also provides keyword search and date filtering inside a subreddit or author scope. Reddit Atom feeds provide the true hot/top/rising order for the first 25 posts when available; the archive fills the rest and supplies the media records. Files are downloaded from Reddit's media CDNs. For a Reddit video, the separate video and audio DASH tracks are merged with ffmpeg without re-encoding; if the best rendition is above your size limit, the actor retries a smaller rendition before skipping. A caption track is saved when the video's HLS manifest exposes one. No cookies, logins or proxy setup are used.\n\n## FAQ\n\n**Do I need a Reddit account or API key?**\nNo. The actor is cookieless and keyless.\n\n**Why is a Reddit video sometimes missing audio?**\nIt is not. Reddit stores video and audio separately; the actor downloads both and merges them into one MP4. If a video genuinely has no audio track, `hasAudio` is `false` and the file is saved without audio.\n\n**Are galleries complete?**\nYes. Every slide is saved at full resolution in the poster's order, with captions and outbound links when present.\n\n**Can I search Reddit by keyword?**\nYes, inside the subreddits or user profiles you list in Search mode, optionally limited with `postedAfter` and `postedBefore`. A global all-Reddit search is not offered because the anonymous archive only accepts a subreddit or author scope.\n\n**Can I get just the links instead of files?**\nYes. Turn off **Save files to the key-value store** and the rows keep the direct media URLs and video/audio stream URLs without downloading or storing files.\n\n**Can I schedule it?**\nYes. A daily or hourly schedule with `sort: new` keeps a media archive current. Each run is independent, so de-duplicate on `postFile` or `originalMediaUrl` on your side if you append to one place.\n\n**Does it include NSFW content?**\nOnly when you turn on **Include 18+ posts**. It is off by default.\n\n**What happens to removed posts?**\nReddit deletes the media of removed and deleted posts. The actor detects those records and skips them instead of returning broken links.\n\n## Limits\n\n- **Removed or deleted posts** are skipped; their media files are gone from Reddit's CDN.\n- **Search is scoped** to the subreddits and profiles you name. The archive does not support an all-Reddit keyword query without a scope, and Reddit's anonymous search endpoints are blocked.\n- **Hot, Top and Rising** use Reddit's own order for the newest 25 posts when its feed is reachable, then a bounded archive ranking. The actor scans up to about 1,000 posts per source, so a very large community may not reach every post in a long time window.\n- **Top of all time** returns Reddit's current all-time leaders (25) plus the best-scoring posts of the past year as a supplement.\n- **Scores** come from the archive and can lag behind live Reddit for posts newer than about 36 hours.\n- **Video captions** are saved only when Reddit publishes a subtitle track for that video.\n- **Preview thumbnails** hosted on `preview.redd.it` are blocked by Reddit, so the actor never returns those URLs. It uses full-resolution media and generated thumbnails instead.\n- **Third-party players** (YouTube, Streamable, Redgifs and similar) are not downloaded; direct image and GIF files on imgur, Giphy and Gyazo are available with the external-media option. Redgifs needs a separate authenticated API and is out of scope.\n- **Controversial sort** is not offered: the archive only ranks by date and score, and Reddit's controversial ordering is not available anonymously.\n- **Media uploaded inside comments** is not collected: archive comment records carry no media metadata, and direct media links in comment bodies are too rare to make a reliable field.\n- **Private, quarantined or login-only communities** are out of scope because the actor uses no credentials.\n- **File size**: files over `maxFileSizeMb` are skipped, and very large videos may need a larger run memory/disk.\n- **File links** live in the run's key-value store and are signed by Apify; download or copy them while the run's storage is retained.\n\nUse the actor only for media you have the right to download and store, and follow the source community's rules and applicable law.\n",
      "input": {
        "title": "Reddit Media Archiver Input",
        "description": "Choose where to find Reddit media (subreddits, user profiles, exact post URLs or a keyword search), a date range, which media to keep, and whether to save files to the run's key-value store.",
        "type": "object",
        "schemaVersion": 1,
        "properties": {
          "mode": {
            "title": "Where to look",
            "type": "string",
            "description": "Pick the source of the posts. Subreddit feeds and user profiles are read newest-first or ranked; exact post URLs are read one by one; Search finds posts by keyword inside the subreddits or profiles you list. Media URLs (i.redd.it, v.redd.it) are also accepted in the post list.",
            "editor": "select",
            "enum": [
              "subreddits",
              "users",
              "postUrls",
              "search"
            ],
            "enumTitles": [
              "Subreddit feeds",
              "User profiles",
              "Exact posts or media URLs",
              "Search posts by keyword"
            ],
            "default": "subreddits",
            "prefill": "subreddits",
            "sectionCaption": "Sources"
          },
          "subreddits": {
            "title": "Subreddits",
            "type": "array",
            "description": "Communities to pull media from. Accepts bare names, r/ handles and full URLs; combine several with a plus sign. Used when 'Where to look' is Subreddit feeds.",
            "editor": "stringList",
            "example": [
              "pics",
              "r/aww",
              "https://www.reddit.com/r/EarthPorn/"
            ],
            "default": [],
            "prefill": [
              "pics"
            ]
          },
          "usernames": {
            "title": "Usernames",
            "type": "array",
            "description": "Reddit profiles whose submitted posts should be scanned for media. Accepts bare names, u/ handles and profile URLs. Used when 'Where to look' is User profiles.",
            "editor": "stringList",
            "example": [
              "spez",
              "u/Reddit"
            ],
            "default": [],
            "prefill": []
          },
          "postUrls": {
            "title": "Post or media URLs",
            "type": "array",
            "description": "Exact Reddit posts to read. Accepts permalinks, redd.it short links, gallery URLs, bare post IDs and direct i.redd.it / v.redd.it links. Used when 'Where to look' is Exact posts.",
            "editor": "stringList",
            "example": [
              "https://www.reddit.com/r/pics/comments/1xwmtsy/oc/",
              "https://redd.it/1xwmtsy",
              "https://v.redd.it/42bsi3rv3p1i1"
            ],
            "default": [],
            "prefill": []
          },
          "searchQueries": {
            "title": "Search keywords",
            "type": "array",
            "description": "Words or phrases to find in post titles and text, one per line. Search runs inside every subreddit and profile you list; results are filtered and downloaded exactly like a feed. Used when 'Where to look' is Search.",
            "editor": "stringList",
            "example": [
              "sunset timelapse",
              "dog"
            ],
            "default": [],
            "prefill": [],
            "sectionCaption": "Search and date range"
          },
          "postedAfter": {
            "title": "Posts from (date)",
            "type": "string",
            "description": "Optional earliest post date. Accepts a date like 2026-01-01 or a full ISO timestamp. Applies to feeds and searches. Leave empty for no lower limit.",
            "editor": "datepicker"
          },
          "postedBefore": {
            "title": "Posts until (date)",
            "type": "string",
            "description": "Optional latest post date. Accepts a date like 2026-01-31 or a full ISO timestamp. Applies to feeds and searches. Leave empty for no upper limit.",
            "editor": "datepicker"
          },
          "sort": {
            "title": "Feed ranking",
            "type": "string",
            "description": "How to rank subreddit and profile posts. New is strict newest-first. Top ranks by score inside the chosen time window. Hot blends score and freshness. Rising favours posts gaining score quickly. Profile feeds have no true hot/rising ranking, so they fall back to newest-first.",
            "editor": "select",
            "enum": [
              "hot",
              "new",
              "top",
              "rising"
            ],
            "enumTitles": [
              "Hot — trending now",
              "New — newest first",
              "Top — highest score in the time window",
              "Rising — gaining score quickly"
            ],
            "default": "hot",
            "prefill": "top",
            "sectionCaption": "Feed options"
          },
          "time": {
            "title": "Top time window",
            "type": "string",
            "description": "How far back Top and Rising look. Ignored by New and Hot.",
            "editor": "select",
            "enum": [
              "hour",
              "day",
              "week",
              "month",
              "year",
              "all"
            ],
            "enumTitles": [
              "Past hour",
              "Past day",
              "Past week",
              "Past month",
              "Past year",
              "All time"
            ],
            "default": "week",
            "prefill": "week"
          },
          "includeNsfw": {
            "title": "Include 18+ posts",
            "type": "boolean",
            "description": "Keep posts marked 18+ (NSFW). Off by default.",
            "default": false,
            "prefill": false
          },
          "minScore": {
            "title": "Minimum post score",
            "type": "integer",
            "description": "Keep only posts with at least this score (upvotes minus downvotes). Leave at 0 to keep every post.",
            "minimum": 0,
            "maximum": 1000000,
            "default": 0,
            "prefill": 0
          },
          "mediaTypes": {
            "title": "Media to keep",
            "type": "array",
            "description": "Which kinds of posts to download. Image is a standalone picture, Gallery is a multi-image post (every slide is saved), Video is a Reddit-hosted video, and GIF covers animated images including Reddit's animated v.redd.it posts. Gallery and GIF items inside a gallery are kept when Gallery is selected.",
            "editor": "select",
            "items": {
              "type": "string",
              "enum": [
                "image",
                "gallery",
                "video",
                "gif"
              ],
              "enumTitles": [
                "Image — standalone picture",
                "Gallery — every slide of a multi-image post",
                "Video — Reddit-hosted video",
                "GIF — animated image"
              ]
            },
            "default": [
              "image",
              "gallery",
              "video",
              "gif"
            ],
            "prefill": [
              "image",
              "gallery"
            ],
            "sectionCaption": "What to keep"
          },
          "maxPostsPerSource": {
            "title": "Maximum posts per source",
            "type": "integer",
            "description": "How many posts containing a matching media type to read from each subreddit or profile. The run scans further back to find them, up to about 1,000 posts per source.",
            "minimum": 1,
            "maximum": 1000,
            "default": 100,
            "prefill": 3
          },
          "maxFiles": {
            "title": "Maximum files",
            "type": "integer",
            "description": "Stop after saving this many media files across the whole run. A gallery is cut at the limit.",
            "minimum": 1,
            "maximum": 10000,
            "default": 100,
            "prefill": 1
          },
          "maxVideoQuality": {
            "title": "Maximum video quality",
            "type": "string",
            "description": "Cap the short side of Reddit-hosted video renditions. The best rendition at or below the cap is downloaded; Best available takes the largest.",
            "editor": "select",
            "enum": [
              "best",
              "1080",
              "720",
              "480",
              "360",
              "270",
              "220"
            ],
            "enumTitles": [
              "Best available",
              "Up to 1080p",
              "Up to 720p",
              "Up to 480p",
              "Up to 360p",
              "Up to 270p",
              "Up to 220p"
            ],
            "default": "best",
            "prefill": "best"
          },
          "rehostFiles": {
            "title": "Save files to the key-value store",
            "type": "boolean",
            "description": "On: download the media, merge Reddit video and audio into one MP4, and return a public file link. Off: skip downloads and return the direct media URLs and stream URLs only, which is faster and uses no file storage.",
            "default": true,
            "prefill": true,
            "sectionCaption": "Files"
          },
          "includeThumbnails": {
            "title": "Save a thumbnail per media file",
            "type": "boolean",
            "description": "Add a small JPEG thumbnail for every saved picture or video (generated from the file, or from Reddit's thumbnail when files are not downloaded). Off by default.",
            "default": false,
            "prefill": false
          },
          "maxFileSizeMb": {
            "title": "Maximum file size (MB)",
            "type": "integer",
            "description": "Skip a media file larger than this. Videos above the limit are skipped rather than truncated. 1 to 2048 MB.",
            "minimum": 1,
            "maximum": 2048,
            "default": 250,
            "prefill": 250
          },
          "downloadConcurrency": {
            "title": "Parallel downloads",
            "type": "integer",
            "description": "How many files to download and merge at the same time. 1 to 8; higher is faster but uses more memory and disk.",
            "minimum": 1,
            "maximum": 8,
            "default": 3,
            "prefill": 3
          },
          "includeExternalMedia": {
            "title": "Include external direct images",
            "type": "boolean",
            "description": "Also download direct image and GIF links on imgur, Giphy and Gyazo when a Reddit post points to them. Embedded players and article pages are never downloaded.",
            "default": false,
            "prefill": false
          }
        }
      },
      "output": {
        "actorOutputSchemaVersion": 1,
        "title": "Reddit Media Archiver Output",
        "description": "One row per downloaded media file: post title, subreddit, author, media type, dimensions, duration, audio flag, checksum, original URL, public file link and gallery metadata. Empty fields are omitted.",
        "properties": {
          "mediaFiles": {
            "type": "string",
            "title": "Reddit media files",
            "description": "Dataset with one row per downloaded or linked Reddit media file.",
            "template": "{{links.apiDefaultDatasetUrl}}/items"
          }
        }
      },
      "storages": {
        "dataset": {
          "actorSpecification": 1,
          "views": {
            "overview": {
              "title": "Downloaded Reddit media files",
              "transformation": {
                "fields": [
                  "postTitle",
                  "mediaType",
                  "subreddit",
                  "author",
                  "width",
                  "height",
                  "fileSize",
                  "sha256",
                  "fileUrl"
                ]
              },
              "display": {
                "component": "table",
                "properties": {}
              }
            }
          }
        }
      },
      "environmentVariables": {},
      "defaultRunOptions": {
        "build": "latest",
        "timeoutSecs": 3600,
        "memoryMbytes": 1024
      }
    },
    "buildNumber": "1.0.5",
    "actVersion": {
      "sourceType": "SOURCE_FILES",
      "buildTag": "latest",
      "versionNumber": "1.0"
    }
  }
}