# Download Community Posts in a Date Range

**Use case:** 

Set a start and end date and download every community post a channel published inside that window, with text, engagement counts, and links kept in order. Leave a limit blank to keep that side of the range open.

## Input

```json
{
  "urls": [
    "@mkbhd"
  ],
  "maxPostsPerChannel": 50,
  "postTypes": "all",
  "dateFrom": "2023-01-01",
  "dateTo": "2024-12-31",
  "includeComments": false,
  "maxCommentsPerPost": 10,
  "downloadImages": false,
  "detectLanguage": false,
  "concurrency": 3,
  "proxyConfig": {
    "useApifyProxy": true,
    "apifyProxyGroups": []
  }
}
```

## Output

```json
{
  "status": {
    "label": "Status",
    "format": "text"
  },
  "postType": {
    "label": "Type",
    "format": "text"
  },
  "channelName": {
    "label": "Channel",
    "format": "text"
  },
  "text": {
    "label": "Post Text",
    "format": "text"
  },
  "likeCount": {
    "label": "Likes",
    "format": "number"
  },
  "commentCount": {
    "label": "Comments",
    "format": "number"
  },
  "publishedTimeText": {
    "label": "Posted",
    "format": "text"
  },
  "postUrl": {
    "label": "Post URL",
    "format": "link"
  },
  "scrapedAt": {
    "label": "Scraped At",
    "format": "text"
  }
}
```

## About this Actor

This example demonstrates how to use [YouTube Community Posts Scraper](https://apify.com/lurkapi/youtube-community-posts-scraper.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/lurkapi/youtube-community-posts-scraper.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/lurkapi/youtube-community-posts-scraper.md

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).
