# Reddit Posts and Comments Scraper for r/gadgets

**Use case:** 

Scrape hot posts and their comments from r/gadgets. Get post scores, comment text, comment scores and authors for product feedback analysis.

## Input

```json
{
  "maxItems": 10,
  "includeComments": true,
  "mode": "subreddit",
  "subreddits": [
    "gadgets"
  ],
  "sort": "hot",
  "time": "day",
  "commentsLimit": 20,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

## Output

```json
{
  "recordType": {
    "label": "Type",
    "format": "text"
  },
  "title": {
    "label": "Title",
    "format": "text"
  },
  "subreddit": {
    "label": "Subreddit",
    "format": "text"
  },
  "author": {
    "label": "Author",
    "format": "text"
  },
  "score": {
    "label": "Score",
    "format": "number"
  },
  "numComments": {
    "label": "Comments",
    "format": "number"
  },
  "numCrossposts": {
    "label": "Crossposts",
    "format": "number"
  },
  "totalAwards": {
    "label": "Awards",
    "format": "number"
  },
  "linkFlair": {
    "label": "Flair",
    "format": "text"
  },
  "permalink": {
    "label": "Permalink",
    "format": "link"
  },
  "createdAt": {
    "label": "Created",
    "format": "date"
  },
  "observedAt": {
    "label": "Scraped",
    "format": "date"
  },
  "error": {
    "label": "Error",
    "format": "text"
  }
}
```

## About this Actor

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