# Changelog of Reddit Post Scraper (`w3crawler/reddit-post-scraper`) Actor

- **URL**: https://apify.com/w3crawler/reddit-post-scraper/changelog.md
- **Full Actor documentation**: https://apify.com/w3crawler/reddit-post-scraper.md

## Changelog

All notable changes to the Reddit Post Scraper are documented here.

### \[Unreleased]

#### Changed

- Reapplied the Actor metadata and active dataset/output schema references, including the exact generation marker.
- Completed the dataset schema for all 43 projected record fields with nullable anonymized examples and a bounded overview view.
- Kept extraction limited to public rendered Reddit post pages and made zero-result runs fail closed with explicit availability diagnostics.
- Updated the marketplace README with accurate public-only behavior, input/output documentation, pricing, and troubleshooting guidance.
- Updated the local dataset validator to honor `APIFY_LOCAL_STORAGE_DIR` and exclude explicit unavailable-data diagnostics from success counts.

### \[1.0.0] - 2025-05-21

#### Added

- Initial production release of the Reddit Post Scraper.
- `PuppeteerCrawler`-based architecture using the rendered public Reddit post DOM.
- Files:
  - `src/main.js` — entry point with URL normalization and crawler setup.
  - `src/scraper.js` — crawler factory and request handler.
  - `src/parser.js` — JSON response parser for posts and comments.
  - `src/utils.js` — stealth helpers, launch options, random delays.
- Extracts specific Reddit post URLs: title, body, image/video metadata, and bounded optional comments.
- `.actor/actor.json`, `input_schema.json`, `dataset_schema.json`, and `output_schema.json` for Apify platform compatibility.
- `validate-datasets.js` for local dataset output validation.
- `Dockerfile` based on `apify/actor-node-puppeteer-chrome`.
- `README.md` with full Apify usage guide.

#### Fixed

- `dataset_schema.json`: renamed reserved `"id"` field to `"redditId"` to pass Apify schema compilation.
