# Scrape All Posts from a Substack Newsletter

**Use case:** 

Export every post from any Substack publication: title, author, date, URL and full content as Markdown or HTML.

## Input

```json
{
  "startUrls": [
    {
      "url": "https://simonw.substack.com/"
    }
  ],
  "maxItems": 50,
  "scrapeFormat": "markdown",
  "maxRequestRetries": 2,
  "maxSessionRotations": 5
}
```

## Output

```json
{
  "url": {
    "label": "Post URL",
    "format": "link"
  },
  "publicationName": {
    "label": "Publication",
    "format": "text"
  },
  "authorName": {
    "label": "Author",
    "format": "text"
  },
  "title": {
    "label": "Title",
    "format": "text"
  },
  "postDate": {
    "label": "Published Date",
    "format": "date"
  },
  "likes": {
    "label": "Total Reactions",
    "format": "number"
  },
  "comments": {
    "label": "Comments",
    "format": "number"
  },
  "isPaywalled": {
    "label": "Paywalled",
    "format": "boolean"
  }
}
```

## About this Actor

This example demonstrates how to use [Substack Posts & Creator Scraper](https://apify.com/sleek_waveform/substack-creator-scraper) with a specific input configuration. Visit the [Actor detail page](https://apify.com/sleek_waveform/substack-creator-scraper) to learn more, explore other use cases, and run it yourself.