# Reddit Author Archive Extractor

**Use case:** 

Extract a Reddit author's historical posts with timestamps, scores, text, links, and subreddit metadata.

## Input

```json
{
  "recordTypes": [
    "posts"
  ],
  "subreddits": [
    "python"
  ],
  "authors": [
    "spez"
  ],
  "keyword": "",
  "after": "2023-01-01",
  "before": "2024-01-01",
  "minScore": -1000,
  "sort": "asc",
  "maxItems": 200,
  "batchSize": 20,
  "maxPages": 20
}
```

## Output

```json
{
  "redditId": {
    "label": "Post ID",
    "format": "string"
  },
  "title": {
    "label": "Title",
    "format": "string"
  },
  "author": {
    "label": "Author",
    "format": "string"
  },
  "subreddit": {
    "label": "Subreddit",
    "format": "string"
  },
  "createdAt": {
    "label": "Created",
    "format": "string"
  },
  "score": {
    "label": "Score",
    "format": "integer"
  },
  "numComments": {
    "label": "Comments",
    "format": "integer"
  },
  "permalink": {
    "label": "Reddit post",
    "format": "string"
  },
  "url": {
    "label": "Outbound URL",
    "format": "string"
  },
  "linkFlairText": {
    "label": "Flair",
    "format": "string"
  },
  "over18": {
    "label": "NSFW",
    "format": "boolean"
  },
  "sourceUrl": {
    "label": "Archive request",
    "format": "string"
  }
}
```

## About this Actor

This example demonstrates how to use [Reddit Historical Archive Scraper](https://apify.com/automation-lab/reddit-historical-archive-scraper) with a specific input configuration. Visit the [Actor detail page](https://apify.com/automation-lab/reddit-historical-archive-scraper) to learn more, explore other use cases, and run it yourself.