# Changelog of Substack Scraper · Full Text, Comments, Custom Domains (`agentsgearbox/substack-scraper`) Actor

- **URL**: https://apify.com/agentsgearbox/substack-scraper/changelog.md
- **Full Actor documentation**: https://apify.com/agentsgearbox/substack-scraper.md

## Changelog

All user-facing changes of Substack Scraper, newest first. Dates are the day a change went live on Apify. Entries before 2026-11-07 were reconstructed from the deploy history on the day this changelog was first published.

#### 2026-11-25

*Changes*

- Maintenance check, no code change: today's scheduled test run on Apify succeeded, and the actor's full test suite of 7 cases ran against the live source (sites that are not Substack, unknown publications, a custom domain with comments, a search without matches, a single post URL, and a spending limit) with every case behaving as documented. Nothing needed fixing.

*Docs*

- The README's list of related actors now includes Contact Details Scraper and Tech Stack Detector.

#### 2026-11-07

*Fixes*

- Substack changed its archive API on 6 November 2026: offset paging was replaced by cursors and pages shrank to 25 posts. Runs on 6 and 7 November returned an error row (`Archive API returned HTTP 400`) instead of posts. The scraper now follows the new cursors; verified on three publications, with a keyword search and against the full corner-case suite. Build 1.0.21.

*Changes*

- This changelog is now published on the Changelog tab and gets a dated line with every deploy.

#### 2026-11-01

*Changes*

- Default memory lowered from 512 MB to 256 MB (runs peak at 50–120 MB), which lowers the platform usage of every run; set more in the run options for very large targets.

#### 2026-10-17

*Features*

- The first 10 posts of every calendar month are free for every Apify account; free rows are delivered without a charge event.
- `postedAfter` accepts relative values such as `7d` and `12h` as well as dates.

*Fixes*

- A spending limit (`maxTotalChargeUsd`) now stops the run by itself, with `stoppedBy: chargeLimit` in the summary and exactly the rows the limit allows. Before, the platform aborted the run one event past the limit and the free summary rows could be lost.
- Three spellings of one publication (`astralcodexten`, `astralcodexten.substack.com`, `www.astralcodexten.com`) resolve to the same newsletter and are scraped and charged once.
- An empty archive or a search with no matches ends with `stoppedBy: endOfArchive` instead of `checkpoint`.

#### 2026-10-16

*Fixes*

- Substack can return fewer entries than requested on a page that is not the last one (23 for a page of 50 on lennysnewsletter.com, which has 500+ posts), and the run treated the short page as the end of the archive. Only an empty page ends the archive now; verified with 120 of 120 unique posts.

#### 2026-10-14

*Features*

- `onlyNewSinceLastRun`: a checkpoint per publication in a named key-value store, so a scheduled run collects only posts newer than the previous run.
- A free `summary` row per publication with `status`, `stoppedBy`, post and comment counts and the newest and oldest post dates.

#### 2026-10-13

*Features*

- Initial release: posts, full article text, likes, restacks, comments and podcast episodes from any Substack newsletter, including publications on custom domains, with no login and no API key.
