# Archive Historical Python Reddit Posts

**Use case:** 

Archive historical r/Python posts with dates, authors, scores, text, comments metadata, and direct links using resilient public archive sources.

## Input

```json
{
  "subreddits": [
    "Python"
  ],
  "searchQuery": "",
  "afterDate": "",
  "beforeDate": "",
  "maxPosts": 3,
  "includeComments": false
}
```

## Output

```json
{
  "type": {
    "label": "Type",
    "format": "text"
  },
  "title": {
    "label": "Title",
    "format": "text"
  },
  "selftext": {
    "label": "Post Text",
    "format": "text"
  },
  "body": {
    "label": "Comment Text",
    "format": "text"
  },
  "author": {
    "label": "Author",
    "format": "text"
  },
  "subreddit": {
    "label": "Subreddit",
    "format": "text"
  },
  "score": {
    "label": "Score",
    "format": "number"
  },
  "num_comments": {
    "label": "Comments",
    "format": "number"
  },
  "created_iso": {
    "label": "Created",
    "format": "text"
  },
  "permalink": {
    "label": "Permalink",
    "format": "link"
  }
}
```

## About this Actor

This example demonstrates how to use [🗄️ Reddit Archive Scraper - Years of Posts & Comments](https://apify.com/benthepythondev/reddit-archive-scraper) with a specific input configuration. Visit the [Actor detail page](https://apify.com/benthepythondev/reddit-archive-scraper) to learn more, explore other use cases, and run it yourself.