# Scrape r/StockMarket - Export Posts & Comments to CSV

**Use case:** 

Download all posts and comments from r/StockMarket without the Reddit API. Export to CSV, JSON or Excel in minutes. No code, free to start.

## Input

```json
{
  "startUrls": [
    {
      "url": "https://www.reddit.com/r/technology/"
    }
  ],
  "subreddits": [
    "StockMarket"
  ],
  "searches": [
    "web scraping"
  ],
  "searchPosts": true,
  "searchComments": false,
  "searchCommunities": false,
  "searchUsers": false,
  "maxItems": 100,
  "maxPostCount": 25,
  "postsPerSource": 0,
  "maxComments": 10,
  "maxCommunitiesCount": 2,
  "maxUserCount": 2,
  "maxLeaderBoardItems": 5,
  "sort": "top",
  "time": "month",
  "commentSort": "confidence",
  "includeNSFW": false,
  "skipComments": false,
  "skipUserPosts": false,
  "skipCommunity": false,
  "enableDateWindowing": false,
  "ignoreStartUrls": false,
  "proxy": {
    "useApifyProxy": true
  },
  "debugMode": false
}
```

## Output

```json
{
  "title": {
    "label": "Title",
    "format": "text"
  },
  "communityName": {
    "label": "Community",
    "format": "text"
  },
  "username": {
    "label": "Author",
    "format": "text"
  },
  "upVotes": {
    "label": "Upvotes",
    "format": "number"
  },
  "numberOfComments": {
    "label": "Comments",
    "format": "number"
  },
  "stickied": {
    "label": "Pinned",
    "format": "boolean"
  },
  "locked": {
    "label": "Locked",
    "format": "boolean"
  },
  "awardsCount": {
    "label": "Awards",
    "format": "number"
  },
  "createdAt": {
    "label": "Created",
    "format": "text"
  },
  "url": {
    "label": "URL",
    "format": "link"
  }
}
```

## About this Actor

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