# GitHub Discussions Scraper and Monitor

**Use case:** 

Scrape public GitHub Discussions, authors, comments, replies, categories, reactions, and answer state for community monitoring.

## Input

```json
{
  "startUrls": [
    {
      "url": "https://github.com/orgs/community/discussions"
    }
  ],
  "maxDiscussions": 20,
  "sort": "latest",
  "includeComments": true,
  "includeReplies": true,
  "maxCommentsPerDiscussion": 20
}
```

## Output

```json
{
  "id": {
    "label": "ID",
    "format": "string"
  },
  "url": {
    "label": "Discussion",
    "format": "string"
  },
  "owner": {
    "label": "Owner",
    "format": "string"
  },
  "repository": {
    "label": "Repository",
    "format": "string"
  },
  "number": {
    "label": "Number",
    "format": "integer"
  },
  "title": {
    "label": "Title",
    "format": "string"
  },
  "category": {
    "label": "Category",
    "format": "string"
  },
  "author": {
    "label": "Author",
    "format": "string"
  },
  "createdAt": {
    "label": "Created",
    "format": "string"
  },
  "updatedAt": {
    "label": "Updated",
    "format": "string"
  },
  "isAnswered": {
    "label": "Answered",
    "format": "boolean"
  },
  "commentCount": {
    "label": "Comments",
    "format": "integer"
  },
  "reactions": {
    "label": "Reactions",
    "format": "array"
  },
  "comments": {
    "label": "Comments & replies",
    "format": "array"
  },
  "scrapedAt": {
    "label": "Scraped",
    "format": "string"
  }
}
```

## About this Actor

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